diff --git a/deploy/cephfs/kubernetes/csidriver.yaml b/deploy/cephfs/kubernetes/csidriver.yaml index aa1a0b71a..7664f9d56 100644 --- a/deploy/cephfs/kubernetes/csidriver.yaml +++ b/deploy/cephfs/kubernetes/csidriver.yaml @@ -14,3 +14,4 @@ spec: attachRequired: false podInfoOnMount: false fsGroupPolicy: File + seLinuxMount: true diff --git a/deploy/nfs/kubernetes/csidriver.yaml b/deploy/nfs/kubernetes/csidriver.yaml index 61b466fe9..224b23961 100644 --- a/deploy/nfs/kubernetes/csidriver.yaml +++ b/deploy/nfs/kubernetes/csidriver.yaml @@ -13,5 +13,6 @@ metadata: spec: attachRequired: false fsGroupPolicy: File + seLinuxMount: true volumeLifecycleModes: - Persistent diff --git a/deploy/rbd/kubernetes/csidriver.yaml b/deploy/rbd/kubernetes/csidriver.yaml index 1d91061c4..1d1ae5b15 100644 --- a/deploy/rbd/kubernetes/csidriver.yaml +++ b/deploy/rbd/kubernetes/csidriver.yaml @@ -13,4 +13,5 @@ metadata: spec: attachRequired: true podInfoOnMount: false + seLinuxMount: true fsGroupPolicy: File