Skip to content

Commit

Permalink
deploy: set seLinuxMount to true for csidriver objects
Browse files Browse the repository at this point in the history
Setting seLinuxMount:true in csidriver objects advertize
that the driver supports passing selinux label in mount
options.

refer: https://kubernetes.io/blog/2023/04/18/ \
kubernetes-1-27-efficient-selinux-relabeling-beta/

Signed-off-by: Rakshith R <rar@redhat.com>
  • Loading branch information
Rakshith-R committed Jun 13, 2023
1 parent 581d9aa commit a0c5c4d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions deploy/cephfs/kubernetes/csidriver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ spec:
attachRequired: false
podInfoOnMount: false
fsGroupPolicy: File
seLinuxMount: true
1 change: 1 addition & 0 deletions deploy/nfs/kubernetes/csidriver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ metadata:
spec:
attachRequired: false
fsGroupPolicy: File
seLinuxMount: true
volumeLifecycleModes:
- Persistent
1 change: 1 addition & 0 deletions deploy/rbd/kubernetes/csidriver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ metadata:
spec:
attachRequired: true
podInfoOnMount: false
seLinuxMount: true
fsGroupPolicy: File

0 comments on commit a0c5c4d

Please sign in to comment.