(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:
|
||||
- Kubernetes
|
||||
- Container
|
||||
platforms:
|
||||
- GKE
|
||||
- OpenShift
|
||||
maturity: alpha
|
||||
maintainers:
|
||||
- name: ksatchit
|
||||
|
@@ -4,9 +4,28 @@ description:
|
||||
kind: ChaosExperiment
|
||||
metadata:
|
||||
name: container-kill
|
||||
version: 0.1.1
|
||||
version: 0.1.3
|
||||
spec:
|
||||
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"
|
||||
args:
|
||||
- -c
|
||||
@@ -14,13 +33,18 @@ spec:
|
||||
command:
|
||||
- /bin/bash
|
||||
env:
|
||||
|
||||
- name: ANSIBLE_STDOUT_CALLBACK
|
||||
value: default
|
||||
value: 'default'
|
||||
|
||||
- name: TARGET_CONTAINER
|
||||
value: ""
|
||||
- name: KILL_MODE
|
||||
value: ""
|
||||
value: ''
|
||||
|
||||
- name: LIB
|
||||
value: ""
|
||||
value: ''
|
||||
|
||||
- name: LIB_IMAGE
|
||||
value: 'gaiaadm/pumba:0.4.8'
|
||||
|
||||
labels:
|
||||
name: container-kill
|
Reference in New Issue
Block a user