Merge pull request #9861 from rook/mergify/bp/release-1.8/pr-9854
helm: fix rook-ceph-cluster helm chart for cephobjectstore storageclass without/empty parameters (backport #9854)
This commit is contained in:
3 files changed
+9
-3
No files matched your search
@@ -19,7 +19,9 @@ provisioner: {{ $root.Values.operatorNamespace }}.rbd.csi.ceph.com
|
||||
parameters:
|
||||
pool: {{ $blockpool.name }}
|
||||
clusterID: {{ $root.Release.Namespace }}
|
||||
{{ toYaml $blockpool.storageClass.parameters | indent 2 }}
|
||||
{{ with $blockpool.storageClass.parameters }}
|
||||
{{ toYaml . | indent 2 }}
|
||||
{{ end }}
|
||||
reclaimPolicy: {{ default "Delete" $blockpool.storageClass.reclaimPolicy }}
|
||||
allowVolumeExpansion: {{ default "true" $blockpool.storageClass.allowVolumeExpansion }}
|
||||
{{- if $blockpool.storageClass.mountOptions }}
|
||||
|
||||
@@ -20,7 +20,9 @@ parameters:
|
||||
fsName: {{ $filesystem.name }}
|
||||
pool: {{ $filesystem.name }}-{{ default "data0" $filesystem.storageClass.pool }}
|
||||
clusterID: {{ $root.Release.Namespace }}
|
||||
{{ toYaml $filesystem.storageClass.parameters | indent 2 }}
|
||||
{{ with $filesystem.storageClass.parameters }}
|
||||
{{ toYaml . | indent 2 }}
|
||||
{{ end }}
|
||||
reclaimPolicy: {{ default "Delete" $filesystem.storageClass.reclaimPolicy }}
|
||||
allowVolumeExpansion: {{ default "true" $filesystem.storageClass.allowVolumeExpansion }}
|
||||
{{- if $filesystem.storageClass.mountOptions }}
|
||||
|
||||
@@ -18,6 +18,8 @@ reclaimPolicy: {{ default "Delete" $objectstore.storageClass.reclaimPolicy }}
|
||||
parameters:
|
||||
objectStoreName: {{ $objectstore.name }}
|
||||
objectStoreNamespace: {{ $root.Release.Namespace }}
|
||||
{{ toYaml $objectstore.storageClass.parameters | indent 2 }}
|
||||
{{ with $objectstore.storageClass.parameters }}
|
||||
{{ toYaml . | indent 2 }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
Reference in new issue
Block a user