(Enhancement): Added/Removed permissions for cpu-hog experiment (#91)

* (Enhancement): Added/Removed permissions for cpu-hog experiment

Signed-off-by: Amit Bhatt <amitbhatt818@gmail.com>
This commit is contained in:
Amit Bhatt
2020-01-07 12:40:27 +05:30
committed by Karthik Satchitanand
parent 91949940d6
commit 72a0ad50ca

View File

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