Skip to content

Commit

Permalink
allow modify fsGroupPolicy for csidriver
Browse files Browse the repository at this point in the history
  • Loading branch information
sysadmin.maksim.p committed Jan 4, 2024
1 parent c807059 commit 3027b92
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/ceph-csi-cephfs/templates/csidriver-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ metadata:
spec:
attachRequired: false
podInfoOnMount: false
fsGroupPolicy: File
fsGroupPolicy: {{ default "File" .Values.CSIDriver.fsGroupPolicy }}
seLinuxMount: true
4 changes: 4 additions & 0 deletions charts/ceph-csi-cephfs/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ logLevel: 5
# sidecarLogLevel is the variable for Kubernetes sidecar container's log level
sidecarLogLevel: 1


CSIDriver:
fsGroupPolicy: "File"

nodeplugin:
name: nodeplugin
# if you are using ceph-fuse client set this value to OnDelete
Expand Down

0 comments on commit 3027b92

Please sign in to comment.