Added/Removed permissions for node-drain experiment (#101)

Signed-off-by: Amit Bhatt <amitbhatt818@gmail.com>
This commit is contained in:
Amit Bhatt
2020-01-09 16:43:30 +05:30
committed by Karthik Satchitanand
parent 3041abecea
commit 31e0b18783

View File

@@ -9,26 +9,35 @@ metadata:
version: 0.1.1
spec:
definition:
scope: Cluster
permissions:
apiGroups:
- ""
- "extensions"
- "apps"
- "batch"
- "litmuschaos.io"
resources:
- "daemonsets"
- "statefulsets"
- "deployments"
- "replicasets"
- "jobs"
- "pods"
- "pods/exec"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "*"
- apiGroups:
- ""
- "batch"
- "extensions"
- "litmuschaos.io"
resources:
- "jobs"
- "pods"
- "pods/eviction"
- "daemonsets"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "create"
- "list"
- "get"
- "patch"
- "delete"
- apiGroups:
- ""
resources:
- "nodes"
verbs :
- "get"
- "list"
- "patch"
image: "litmuschaos/ansible-runner:ci"
args:
- -c