Skip to content

Commit

Permalink
Merge pull request #8739 from Madhu-1/reduce-csi-permission
Browse files Browse the repository at this point in the history
ceph: modify CephFS provisioner permission
  • Loading branch information
travisn committed Sep 22, 2021
2 parents 56b5068 + 95775fd commit cd6ee3b
Showing 1 changed file with 0 additions and 30 deletions.
Expand Up @@ -34,11 +34,6 @@ spec:
- name: ADDRESS
value: /csi/csi-provisioner.sock
imagePullPolicy: "IfNotPresent"
securityContext:
privileged: true
capabilities:
add: ["SYS_ADMIN"]
allowPrivilegeEscalation: true
volumeMounts:
- name: socket-dir
mountPath: /csi
Expand All @@ -55,11 +50,6 @@ spec:
- name: ADDRESS
value: unix:///csi/csi-provisioner.sock
imagePullPolicy: "IfNotPresent"
securityContext:
privileged: true
capabilities:
add: ["SYS_ADMIN"]
allowPrivilegeEscalation: true
volumeMounts:
- name: socket-dir
mountPath: /csi
Expand All @@ -77,11 +67,6 @@ spec:
- name: ADDRESS
value: unix:///csi/csi-provisioner.sock
imagePullPolicy: "IfNotPresent"
securityContext:
privileged: true
capabilities:
add: ["SYS_ADMIN"]
allowPrivilegeEscalation: true
volumeMounts:
- name: socket-dir
mountPath: /csi
Expand All @@ -98,11 +83,6 @@ spec:
- name: ADDRESS
value: unix:///csi/csi-provisioner.sock
imagePullPolicy: "IfNotPresent"
securityContext:
privileged: true
capabilities:
add: ["SYS_ADMIN"]
allowPrivilegeEscalation: true
volumeMounts:
- name: socket-dir
mountPath: /csi
Expand Down Expand Up @@ -136,11 +116,6 @@ spec:
- name: CSI_ENDPOINT
value: unix:///csi/csi-provisioner.sock
imagePullPolicy: "IfNotPresent"
securityContext:
privileged: true
capabilities:
add: ["SYS_ADMIN"]
allowPrivilegeEscalation: true
volumeMounts:
- name: socket-dir
mountPath: /csi
Expand Down Expand Up @@ -175,11 +150,6 @@ spec:
- name: socket-dir
mountPath: /csi
imagePullPolicy: "IfNotPresent"
securityContext:
privileged: true
capabilities:
add: ["SYS_ADMIN"]
allowPrivilegeEscalation: true
volumes:
- name: socket-dir
emptyDir: {
Expand Down

0 comments on commit cd6ee3b

Please sign in to comment.