diff --git a/charts/ceph-csi-cephfs/templates/provisioner-deployment.yaml b/charts/ceph-csi-cephfs/templates/provisioner-deployment.yaml index 053f5dd3e..cf1ab09e5 100644 --- a/charts/ceph-csi-cephfs/templates/provisioner-deployment.yaml +++ b/charts/ceph-csi-cephfs/templates/provisioner-deployment.yaml @@ -84,8 +84,6 @@ spec: env: - name: ADDRESS value: "unix:///csi/{{ .Values.provisionerSocketFile }}" - securityContext: - privileged: true volumeMounts: - name: socket-dir mountPath: /csi @@ -158,11 +156,6 @@ spec: fieldPath: spec.nodeName - name: CSI_ENDPOINT value: "unix:///csi/{{ .Values.provisionerSocketFile }}" - securityContext: - privileged: true - capabilities: - add: ["SYS_ADMIN"] - allowPrivilegeEscalation: true volumeMounts: - name: socket-dir mountPath: /csi