refactor(permissions): Adding events resources permission in all experiments

Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
This commit is contained in:
shubhamchaudhary
2020-03-09 16:49:34 +05:30
parent 6d983791c3
commit 6d3fe76f9f
45 changed files with 45 additions and 22 deletions

View File

@@ -15,7 +15,7 @@ metadata:
name: disk-fill-sa
rules:
- apiGroups: ["","apps","litmuschaos.io","batch"]
resources: ["pods","jobs","pods/exec","daemonsets","chaosengines","chaosexperiments","chaosresults"]
resources: ["pods","jobs","pods/exec","events","daemonsets","chaosengines","chaosexperiments","chaosresults"]
verbs: ["create","list","get","patch","update","delete"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1