From 158ee71f7fb6c7e6c984a0ce114eeaaffdf73d9d Mon Sep 17 00:00:00 2001 From: Erik Sundell Date: Wed, 10 Sep 2025 13:30:07 +0200 Subject: [PATCH] helm: fix edge case detail The content wasn't within the `if .Values.csi` block but should be, however if `.Values.csi` would be falsy, other things in the chart would break so this shouldn't have affected anyone. Signed-off-by: Erik Sundell --- deploy/charts/rook-ceph/templates/configmap.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/deploy/charts/rook-ceph/templates/configmap.yaml b/deploy/charts/rook-ceph/templates/configmap.yaml index 66a270016..e0d27cb69 100644 --- a/deploy/charts/rook-ceph/templates/configmap.yaml +++ b/deploy/charts/rook-ceph/templates/configmap.yaml @@ -269,10 +269,10 @@ data: CSI_CEPHFS_ATTACH_REQUIRED: {{ .cephFSAttachRequired | quote }} CSI_RBD_ATTACH_REQUIRED: {{ .rbdAttachRequired | quote }} CSI_NFS_ATTACH_REQUIRED: {{ .nfsAttachRequired | quote }} + {{- if .kubeApiBurst }} + CSI_KUBE_API_BURST: {{ .kubeApiBurst | quote }} {{- end }} - {{- if .Values.csi.kubeApiBurst }} - CSI_KUBE_API_BURST: {{ .Values.csi.kubeApiBurst | quote }} + {{- if .kubeApiQPS }} + CSI_KUBE_API_QPS: {{ .kubeApiQPS | quote }} {{- end }} - {{- if .Values.csi.kubeApiQPS }} - CSI_KUBE_API_QPS: {{ .Values.csi.kubeApiQPS | quote }} {{- end }}