(refactor): Modify container-kill experiment CR (#47)
* (refactor): Add permissions in container-kill experiment CR Signed-off-by: Udit Gaurav <uditgaurav@gmail.com>
This commit is contained in:
committed by
Chandan Kumar
parent
6586f8fb43
commit
b426a414c2
@@ -17,6 +17,9 @@ spec:
|
|||||||
keywords:
|
keywords:
|
||||||
- Kubernetes
|
- Kubernetes
|
||||||
- Container
|
- Container
|
||||||
|
platforms:
|
||||||
|
- GKE
|
||||||
|
- OpenShift
|
||||||
maturity: alpha
|
maturity: alpha
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: ksatchit
|
- name: ksatchit
|
||||||
|
@@ -4,9 +4,28 @@ description:
|
|||||||
kind: ChaosExperiment
|
kind: ChaosExperiment
|
||||||
metadata:
|
metadata:
|
||||||
name: container-kill
|
name: container-kill
|
||||||
version: 0.1.1
|
version: 0.1.3
|
||||||
spec:
|
spec:
|
||||||
definition:
|
definition:
|
||||||
|
permissions:
|
||||||
|
apiGroups:
|
||||||
|
- ""
|
||||||
|
- "extensions"
|
||||||
|
- "apps"
|
||||||
|
- "batch"
|
||||||
|
- "litmuschaos.io"
|
||||||
|
resources:
|
||||||
|
- "daemonsets"
|
||||||
|
- "deployments"
|
||||||
|
- "statefulsets"
|
||||||
|
- "jobs"
|
||||||
|
- "pods"
|
||||||
|
- "pods/exec"
|
||||||
|
- "chaosengines"
|
||||||
|
- "chaosexperiments"
|
||||||
|
- "chaosresults"
|
||||||
|
verbs:
|
||||||
|
- "*"
|
||||||
image: "litmuschaos/ansible-runner:ci"
|
image: "litmuschaos/ansible-runner:ci"
|
||||||
args:
|
args:
|
||||||
- -c
|
- -c
|
||||||
@@ -14,13 +33,18 @@ spec:
|
|||||||
command:
|
command:
|
||||||
- /bin/bash
|
- /bin/bash
|
||||||
env:
|
env:
|
||||||
|
|
||||||
- name: ANSIBLE_STDOUT_CALLBACK
|
- name: ANSIBLE_STDOUT_CALLBACK
|
||||||
value: default
|
value: 'default'
|
||||||
|
|
||||||
- name: TARGET_CONTAINER
|
- name: TARGET_CONTAINER
|
||||||
value: ""
|
value: ''
|
||||||
- name: KILL_MODE
|
|
||||||
value: ""
|
|
||||||
- name: LIB
|
- name: LIB
|
||||||
value: ""
|
value: ''
|
||||||
|
|
||||||
|
- name: LIB_IMAGE
|
||||||
|
value: 'gaiaadm/pumba:0.4.8'
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: container-kill
|
name: container-kill
|
Reference in New Issue
Block a user