Files
ceph-csi/charts/ceph-csi-cephfs/templates/csidriver-crd.yaml
Alexander Lindquister 0cb6771115 helm: use CSIDriver.seLinuxMount parameter in templates
Commit 88ce2c625b 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>
2025-05-07 16:30:27 +00:00

16 lines
510 B
YAML

apiVersion: storage.k8s.io/v1
kind: CSIDriver
metadata:
name: {{ .Values.driverName }}
labels:
app: {{ include "ceph-csi-cephfs.name" . }}
chart: {{ include "ceph-csi-cephfs.chart" . }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
{{- with .Values.commonLabels }}{{ toYaml . | trim | nindent 4 }}{{- end }}
spec:
attachRequired: false
podInfoOnMount: false
fsGroupPolicy: {{ .Values.CSIDriver.fsGroupPolicy }}
seLinuxMount: {{ .Values.CSIDriver.seLinuxMount }}