fix(rbacPermission): Add deletecollection permission for pod level experiments (#322)

Signed-off-by: Udit Gaurav <udit.gaurav@mayadata.io>
This commit is contained in:
UDIT GAURAV
2020-09-14 08:28:27 +05:30
committed by GitHub
parent 8fa510c93c
commit 2090ccfdff
7 changed files with 7 additions and 7 deletions

View File

@@ -17,7 +17,7 @@ metadata:
rules:
- apiGroups: ["","litmuschaos.io","batch"]
resources: ["pods","jobs","pods/log","events","chaosengines","chaosexperiments","chaosresults"]
verbs: ["create","list","get","patch","update","delete"]
verbs: ["create","list","get","patch","update","delete","deletecollection"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: RoleBinding