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