(feat): Modify pod-delete experiment CR (#46)

* modify pod-delete experiment CR

Signed-off-by: Udit Gaurav <uditgaurav@gmail.com>
This commit is contained in:
UDIT GAURAV
2019-11-11 17:30:39 +05:30
committed by Chandan Kumar
parent ae6d87ac15
commit 67b9e466ad
2 changed files with 31 additions and 5 deletions

View File

@@ -5,9 +5,27 @@ description:
kind: ChaosExperiment
metadata:
name: pod-delete
version: 0.1.1
version: 0.1.3
spec:
definition:
permissions:
apiGroups:
- ""
- "extensions"
- "apps"
- "batch"
- "litmuschaos.io"
resources:
- "daemonsets"
- "deployments"
- "statefulsets"
- "jobs"
- "pods"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "*"
image: "litmuschaos/ansible-runner:ci"
args:
- -c
@@ -15,13 +33,18 @@ spec:
command:
- /bin/bash
env:
- name: ANSIBLE_STDOUT_CALLBACK
value: default
value: 'default'
- name: TOTAL_CHAOS_DURATION
value: 15
value: '15'
- name: CHAOS_INTERVAL
value: 5
value: '5'
- name: LIB
value: ""
value: ''
labels:
name: pod-delete