2021-03-30 05:33:01 +00:00
|
|
|
apiVersion: storage.k8s.io/v1
|
2019-04-03 05:15:15 +00:00
|
|
|
kind: CSIDriver
|
|
|
|
metadata:
|
|
|
|
name: {{ .Values.driverName }}
|
2024-03-20 22:58:05 +00:00
|
|
|
labels:
|
|
|
|
app: {{ include "ceph-csi-rbd.name" . }}
|
|
|
|
chart: {{ include "ceph-csi-rbd.chart" . }}
|
|
|
|
release: {{ .Release.Name }}
|
|
|
|
heritage: {{ .Release.Service }}
|
|
|
|
{{- with .Values.commonLabels }}{{ toYaml . | trim | nindent 4 }}{{- end }}
|
2019-04-03 05:15:15 +00:00
|
|
|
spec:
|
2021-03-30 05:33:01 +00:00
|
|
|
attachRequired: true
|
2019-04-03 05:15:15 +00:00
|
|
|
podInfoOnMount: false
|
2024-03-20 22:58:05 +00:00
|
|
|
fsGroupPolicy: {{ .Values.CSIDriver.fsGroupPolicy }}
|
2024-03-28 11:33:41 +00:00
|
|
|
{{- if and (semverCompare ">= 1.25.x" .Capabilities.KubeVersion.Version) .Values.CSIDriver.seLinuxMount }}
|
2023-12-22 10:48:45 +00:00
|
|
|
seLinuxMount: true
|
2024-03-05 11:36:51 +00:00
|
|
|
{{- end }}
|