Merge pull request #11520 from rook/mergify/bp/release-1.10/pr-11517

helm: storageclass secrets namespace made the same as the release namespace (backport #11517)
This commit is contained in:
mergify[bot] authored and GitHub committed 2023-01-09 18:10:04 +00:00
commit ac7f4c74b5
3 files changed
+8 -8

No files matched your search

@@ -20,7 +20,7 @@ parameters:
pool: {{ $blockpool.name }}
clusterID: {{ $root.Release.Namespace }}
{{ with $blockpool.storageClass.parameters }}
{{ toYaml . | indent 2 }}
{{ tpl (toYaml .) $ | indent 2 }}
{{ end }}
reclaimPolicy: {{ default "Delete" $blockpool.storageClass.reclaimPolicy }}
allowVolumeExpansion: {{ default "true" $blockpool.storageClass.allowVolumeExpansion }}
@@ -21,7 +21,7 @@ parameters:
pool: {{ $filesystem.name }}-{{ default "data0" $filesystem.storageClass.pool }}
clusterID: {{ $root.Release.Namespace }}
{{ with $filesystem.storageClass.parameters }}
{{ toYaml . | indent 2 }}
{{ tpl (toYaml .) $ | indent 2 }}
{{ end }}
reclaimPolicy: {{ default "Delete" $filesystem.storageClass.reclaimPolicy }}
allowVolumeExpansion: {{ default "true" $filesystem.storageClass.allowVolumeExpansion }}
+6 -6
View File
@@ -456,11 +456,11 @@ cephBlockPools:
# These secrets contain Ceph admin credentials.
csi.storage.k8s.io/provisioner-secret-name: rook-csi-rbd-provisioner
csi.storage.k8s.io/provisioner-secret-namespace: rook-ceph
csi.storage.k8s.io/provisioner-secret-namespace: "{{ .Release.Namespace }}"
csi.storage.k8s.io/controller-expand-secret-name: rook-csi-rbd-provisioner
csi.storage.k8s.io/controller-expand-secret-namespace: rook-ceph
csi.storage.k8s.io/controller-expand-secret-namespace: "{{ .Release.Namespace }}"
csi.storage.k8s.io/node-stage-secret-name: rook-csi-rbd-node
csi.storage.k8s.io/node-stage-secret-namespace: rook-ceph
csi.storage.k8s.io/node-stage-secret-namespace: "{{ .Release.Namespace }}"
# Specify the filesystem type of the volume. If not specified, csi-provisioner
# will set default as `ext4`. Note that `xfs` is not recommended due to potential deadlock
# in hyperconverged settings where the volume is mounted on the same node as the osds.
@@ -505,11 +505,11 @@ cephFileSystems:
parameters:
# The secrets contain Ceph admin credentials.
csi.storage.k8s.io/provisioner-secret-name: rook-csi-cephfs-provisioner
csi.storage.k8s.io/provisioner-secret-namespace: rook-ceph
csi.storage.k8s.io/provisioner-secret-namespace: "{{ .Release.Namespace }}"
csi.storage.k8s.io/controller-expand-secret-name: rook-csi-cephfs-provisioner
csi.storage.k8s.io/controller-expand-secret-namespace: rook-ceph
csi.storage.k8s.io/controller-expand-secret-namespace: "{{ .Release.Namespace }}"
csi.storage.k8s.io/node-stage-secret-name: rook-csi-cephfs-node
csi.storage.k8s.io/node-stage-secret-namespace: rook-ceph
csi.storage.k8s.io/node-stage-secret-namespace: "{{ .Release.Namespace }}"
# Specify the filesystem type of the volume. If not specified, csi-provisioner
# will set default as `ext4`. Note that `xfs` is not recommended due to potential deadlock
# in hyperconverged settings where the volume is mounted on the same node as the osds.