deploy: set seLinuxMount to true for csidriver objects

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>
This commit is contained in:
Rakshith R 2023-06-13 15:11:21 +05:30 committed by mergify[bot]
parent 32b11be88c
commit c0201e493b
3 changed files with 3 additions and 0 deletions

View File

@ -14,3 +14,4 @@ spec:
attachRequired: false attachRequired: false
podInfoOnMount: false podInfoOnMount: false
fsGroupPolicy: File fsGroupPolicy: File
seLinuxMount: true

View File

@ -13,5 +13,6 @@ metadata:
spec: spec:
attachRequired: false attachRequired: false
fsGroupPolicy: File fsGroupPolicy: File
seLinuxMount: true
volumeLifecycleModes: volumeLifecycleModes:
- Persistent - Persistent

View File

@ -13,4 +13,5 @@ metadata:
spec: spec:
attachRequired: true attachRequired: true
podInfoOnMount: false podInfoOnMount: false
seLinuxMount: true
fsGroupPolicy: File fsGroupPolicy: File