(fix): convert contents of permissions into array elements (#100)

Signed-off-by: ksatchit <ksatchit@mayadata.io>
This commit is contained in:
Karthik Satchitanand
2020-01-09 09:46:05 +05:30
committed by Chandan Kumar
parent 8efba79d8c
commit 7c99b1c504

View File

@@ -10,23 +10,22 @@ spec:
definition: definition:
scope: Namespaced scope: Namespaced
permissions: permissions:
apiGroups: - apiGroups:
- "" - ""
- "batch" - "batch"
- "litmuschaos.io" - "litmuschaos.io"
resources: resources:
- "jobs" - "jobs"
- "pods" - "pods"
- "pods/exec" - "chaosengines"
- "chaosengines" - "chaosexperiments"
- "chaosexperiments" - "chaosresults"
- "chaosresults" verbs:
verbs: - "create"
- "create" - "list"
- "list" - "get"
- "get" - "patch"
- "patch" - "delete"
- "delete"
image: "litmuschaos/ansible-runner:ci" image: "litmuschaos/ansible-runner:ci"
args: args:
- -c - -c