helm: use CSIDriver.seLinuxMount parameter in templates

Commit 88ce2c625bafaaf73fcbe52db5a73979777cf398 removed a EOL kubernetes
version check, but also the usage of Values.CSIDriver.seLinuxMount.

This commit makes CSIDriver.seLinuxMount configurable from helm
parameter, since the default for
csidrivers.storage.k8s.io.spec.seLinuxMount is false, but do not change
the template default value which is set to true in values.yaml.

Signed-off-by: Alexander Lindquister <alelindq@cisco.com>
This commit is contained in:
Alexander Lindquister 2025-05-05 09:38:31 +00:00 committed by mergify[bot]
parent fdb4002298
commit 0cb6771115
2 changed files with 2 additions and 2 deletions

View File

@ -12,4 +12,4 @@ spec:
attachRequired: false
podInfoOnMount: false
fsGroupPolicy: {{ .Values.CSIDriver.fsGroupPolicy }}
seLinuxMount: true
seLinuxMount: {{ .Values.CSIDriver.seLinuxMount }}

View File

@ -12,4 +12,4 @@ spec:
attachRequired: true
podInfoOnMount: false
fsGroupPolicy: {{ .Values.CSIDriver.fsGroupPolicy }}
seLinuxMount: true
seLinuxMount: {{ .Values.CSIDriver.seLinuxMount }}