mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 19:10:21 +00:00
d56c9abbce
Signed-off-by: Ruslan Khizhnyak <rkhizhnyak@ptsecurity.com>
18 lines
579 B
YAML
18 lines
579 B
YAML
apiVersion: storage.k8s.io/v1
|
|
kind: CSIDriver
|
|
metadata:
|
|
name: {{ .Values.driverName }}
|
|
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 }}
|
|
spec:
|
|
attachRequired: true
|
|
podInfoOnMount: false
|
|
fsGroupPolicy: {{ .Values.CSIDriver.fsGroupPolicy }}
|
|
{{- if and (semverCompare ">= 1.25.x" .Capabilities.KubeVersion.Version) .Values.seLinuxMount }}
|
|
seLinuxMount: true
|
|
{{- end }}
|