mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-10 08:20:23 +00:00
66512b6a73
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>
(cherry picked from commit 586a9cc8ee
)
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
|