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 version: 0.1.1
spec: spec:
definition: definition:
scope: Cluster
permissions: permissions:
apiGroups: - apiGroups:
- "" - ""
- "extensions"
- "apps"
- "batch" - "batch"
- "extensions"
- "litmuschaos.io" - "litmuschaos.io"
resources: resources:
- "daemonsets"
- "statefulsets"
- "deployments"
- "replicasets"
- "jobs" - "jobs"
- "pods" - "pods"
- "pods/exec" - "pods/eviction"
- "daemonsets"
- "chaosengines" - "chaosengines"
- "chaosexperiments" - "chaosexperiments"
- "chaosresults" - "chaosresults"
verbs: verbs:
- "*" - "create"
- "list"
- "get"
- "patch"
- "delete"
- apiGroups:
- ""
resources:
- "nodes"
verbs :
- "get"
- "list"
- "patch"
image: "litmuschaos/ansible-runner:ci" image: "litmuschaos/ansible-runner:ci"
args: args:
- -c - -c