apiVersion: storage.k8s.io/v1 kind: CSIDriver metadata: name: {{ .Values.driverName }} spec: attachRequired: false podInfoOnMount: false fsGroupPolicy: {{ default "File" .Values.CSIDriver.fsGroupPolicy }} {{- if semverCompare ">= 1.25.x" .Capabilities.KubeVersion.Version }} seLinuxMount: true {{- end }}