(fix): fixing the rbac of target pod failure exp (#152)

* (fix): fixing the rbac of target pod failure exp

Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>

* (fix): fixing the indentation for infra exp

Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
This commit is contained in:
Shubham Chaudhary
2020-02-15 20:56:07 +05:30
committed by GitHub
parent 3101bbf9fa
commit 03e8aa5000
2 changed files with 2 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ metadata:
name: target-pod-failure-sa
rules:
- apiGroups: ["","apps","litmuschaos.io","batch","extensions","storage.k8s.io"]
resources: ["pods","jobs","deployments","pods/exec","chaosexperiments","chaosresults","chaosengines","configmaps","secrets","services,"persistentvolumeclaims","storageclasses","persistentvolumes"]
resources: ["pods","jobs","deployments","pods/exec","chaosexperiments","chaosresults","chaosengines","configmaps","secrets","services","persistentvolumeclaims","storageclasses","persistentvolumes"]
verbs: ["create","list","get","patch","update","delete"]
- apiGroups: [""]
resources: ["nodes"]