some improvements
This commit is contained in:
parent
523fdec5ce
commit
498de9b0b8
4 changed files with 4 additions and 9 deletions
|
|
@ -9,8 +9,6 @@ spec:
|
|||
requiredDropCapabilities:
|
||||
- ALL
|
||||
readOnlyRootFilesystem: true
|
||||
volumes:
|
||||
- 'secret'
|
||||
hostNetwork: false
|
||||
hostIPC: false
|
||||
hostPID: false
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@ apiVersion: rbac.authorization.k8s.io/v1
|
|||
kind: ClusterRole
|
||||
metadata:
|
||||
name: pvc-reaper
|
||||
namespace: pvc-reaper
|
||||
rules:
|
||||
- apiGroups: [""]
|
||||
resources: ["persistentvolumes", "persistentvolumeclaims"]
|
||||
|
|
@ -23,7 +22,6 @@ apiVersion: rbac.authorization.k8s.io/v1
|
|||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: pvc-reaper
|
||||
namespace: pvc-reaper
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue