mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-12 18:23:35 +00:00
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>
16 lines
510 B
YAML
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 }}
|