Refactoring of charts for byoc (#488)

* refactoring charts for byoc

Signed-off-by: Oum Kale <oumkale@chaosnative.com>
This commit is contained in:
OUM NIVRATHI KALE
2021-07-15 23:53:39 +05:30
committed by GitHub
parent a2faee68a1
commit e808bfcbc0
110 changed files with 458 additions and 486 deletions

View File

@@ -63,7 +63,7 @@ spec:
image: litmuschaos/k8s:latest
command: [sh, -c]
args:
- "kubectl apply -f https://hub.litmuschaos.io/api/chaos/1.9.0?file=charts/generic/k8-pod-delete/experiments.yaml -n
- "kubectl apply -f https://hub.litmuschaos.io/api/chaos/1.9.0?file=charts/generic/byoc-pod-delete/experiment.yaml -n
{{workflow.parameters.appNamespace}} | sleep 30"
- name: install-chaos-rbac
@@ -71,7 +71,7 @@ spec:
image: litmuschaos/k8s:latest
command: [sh, -c]
args:
- "kubectl apply -f https://hub.litmuschaos.io/api/chaos/1.9.0?file=charts/generic/k8-pod-delete/rbac.yaml -n
- "kubectl apply -f https://hub.litmuschaos.io/api/chaos/1.9.0?file=charts/generic/byoc-pod-delete/rbac.yaml -n
{{workflow.parameters.appNamespace}} | sleep 30"
- name: run-chaos
@@ -179,7 +179,7 @@ spec:
image: litmuschaos/k8s:latest
command: [sh, -c]
args:
- "kubectl delete -f https://hub.litmuschaos.io/api/chaos/1.9.0?file=charts/generic/k8-pod-delete/experiments.yaml -n
- "kubectl delete -f https://hub.litmuschaos.io/api/chaos/1.9.0?file=charts/generic/byoc-pod-delete/experiment.yaml -n
{{workflow.parameters.appNamespace}} | sleep 30"
- name: revert-chaos-rbac
@@ -187,5 +187,5 @@ spec:
image: litmuschaos/k8s:latest
command: [sh, -c]
args:
- "kubectl delete -f https://hub.litmuschaos.io/api/chaos/1.9.0?file=charts/generic/k8-pod-delete/rbac.yaml -n
- "kubectl delete -f https://hub.litmuschaos.io/api/chaos/1.9.0?file=charts/generic/byoc-pod-delete/rbac.yaml -n
{{workflow.parameters.appNamespace}} | sleep 30"