Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.
This repository is currently being migrated. It's locked while the migration is in progress.

Commit

Permalink
Merge pull request #158 from darkowlzz/olm-1.4-prep
Browse files Browse the repository at this point in the history
OLM: update example with NFS, make CSI default
  • Loading branch information
darkowlzz authored Sep 4, 2019
2 parents 43761b7 + 3f21707 commit 1e25295
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 6 deletions.
4 changes: 3 additions & 1 deletion deploy/olm/csv-rhel/storageos.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,9 @@ spec:
version: v1
kind: NFSServer
displayName: NFS Server
description: NFS Server creates a NFS Ganesha server.
description: StorageOS NFS Server provides support for shared volumes. The StorageOS
control plane will automatically create and manage NFS Server instances when
a PersistentVolumeClaim requests a volume with AccessMode=ReadWriteMany.
specDescriptors:
- description: The container image of the NFS server.
displayName: Image
Expand Down
10 changes: 8 additions & 2 deletions deploy/olm/storageos/storageos.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ metadata:
"spec": {
"namespace": "kube-system",
"secretRefName": "storageos-api",
"secretRefNamespace": "default"
"secretRefNamespace": "default",
"csi": {
"enable": true,
"deploymentStrategy": "deployment"
}
}
},
{
Expand Down Expand Up @@ -523,7 +527,9 @@ spec:
version: v1
kind: NFSServer
displayName: NFS Server
description: NFS Server creates a NFS Ganesha server.
description: StorageOS NFS Server provides support for shared volumes. The StorageOS
control plane will automatically create and manage NFS Server instances when
a PersistentVolumeClaim requests a volume with AccessMode=ReadWriteMany.
specDescriptors:
- description: The container image of the NFS server.
displayName: Image
Expand Down
11 changes: 9 additions & 2 deletions deploy/storageos-operators.configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,11 @@ data:
"spec": {
"namespace": "kube-system",
"secretRefName": "storageos-api",
"secretRefNamespace": "default"
"secretRefNamespace": "default",
"csi": {
"enable": true,
"deploymentStrategy": "deployment"
}
}
},
{
Expand Down Expand Up @@ -1122,7 +1126,10 @@ data:
version: v1
kind: NFSServer
displayName: NFS Server
description: NFS Server creates a NFS Ganesha server.
description: StorageOS NFS Server provides support for shared
volumes. The StorageOS control plane will automatically create and
manage NFS Server instances when a PersistentVolumeClaim requests a
volume with AccessMode=ReadWriteMany.
specDescriptors:
- description: The container image of the NFS server.
displayName: Image
Expand Down
5 changes: 5 additions & 0 deletions scripts/metadata-checker/update-metadata-files.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
#!/bin/bash
set -e

# This script reads all the configurations from OLM configmap, combines with
# *-changes.yaml file, if applicable, and updates the CSV, CRD and package
# files. This script is used to sync the source configmap configurations with
# the OLM manifest files.

# Extract CSV from configmap, update with community operator changes and write
# to the final CSV file.
yq r deploy/storageos-operators.configmap.yaml \
Expand Down
21 changes: 20 additions & 1 deletion scripts/release-helpers/release-gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,11 @@ metadata.annotations.alm-examples: |-
"spec": {
"namespace": "kube-system",
"secretRefName": "storageos-api",
"secretRefNamespace": "default"
"secretRefNamespace": "default",
"csi": {
"enable": true,
"deploymentStrategy": "deployment"
}
}
},
{
Expand Down Expand Up @@ -114,6 +118,21 @@ metadata.annotations.alm-examples: |-
"spec": {
"newImage": "registry.connect.redhat.com/storageos/node:latest"
}
},
{
"apiVersion": "storageos.com/v1",
"kind": "NFSServer",
"metadata": {
"name": "example-nfsserver",
"namespace": "default"
},
"spec": {
"resources": {
"requests": {
"storage": "1Gi"
}
}
}
}
]
Expand Down

0 comments on commit 1e25295

Please sign in to comment.