fix root issue (#422)

Signed-off-by: oumkale <oum.kale@mayadata.io>
This commit is contained in:
OUM NIVRATHI KALE
2021-03-05 08:35:05 +05:30
committed by GitHub
parent d1cd94da87
commit 7d4f722e19
24 changed files with 65 additions and 65 deletions

View File

@@ -63,7 +63,7 @@ spec:
- name: REPORT_ENDPOINT
value: 'none'
container:
image: lachlanevenson/k8s-kubectl
image: alpine/k8s:1.18.2
command: [sh, -c]
args: ['kubectl apply -f /tmp/chaosengine.yaml -n {{workflow.parameters.adminModeNamespace}} | echo "sleeping for 120s" | sleep 120 ']
@@ -104,12 +104,12 @@ spec:
imagePullPolicy: Always
name: nginx-bench
container:
image: lachlanevenson/k8s-kubectl
image: alpine/k8s:1.18.2
command: [sh, -c]
args: ['kubectl apply -f /tmp/bench.yaml -n {{workflow.parameters.appNamespace}}']
- name: revert-chaos
container:
image: lachlanevenson/k8s-kubectl
image: alpine/k8s:1.18.2
command: [sh, -c]
args: [' sleep 20 | kubectl delete chaosengine nginx-chaos -n {{workflow.parameters.adminModeNamespace}}']