mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-22 22:30:23 +00:00
586a9cc8ee
This commit change the default fsgroup policy for csi driver object to "File" type which is the better/correct setting for the CSI volumes. We have been using default value which is "ReadWriteOnceWithFSType". with this change backward compatibility should be preserved. Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
13 lines
295 B
YAML
13 lines
295 B
YAML
{{ if semverCompare ">=1.18.0-beta.1" .Capabilities.KubeVersion.Version }}
|
|
apiVersion: storage.k8s.io/v1
|
|
{{ else }}
|
|
apiVersion: storage.k8s.io/v1beta1
|
|
{{ end }}
|
|
kind: CSIDriver
|
|
metadata:
|
|
name: {{ .Values.driverName }}
|
|
spec:
|
|
attachRequired: true
|
|
podInfoOnMount: false
|
|
fsGroupPolicy: File
|