chore(charts):Added Labels for Workflow and Engine (#437)

* Adding subject and label

Signed-off-by: Oum Kale <oumkale@chaosnative.com>

* updating context for infra level

Signed-off-by: Oum Kale <oumkale@chaosnative.com>

* updating chaosengine name

Signed-off-by: Oum Kale <oumkale@chaosnative.com>

* updating image to litmuschaos/k8s:latest

Signed-off-by: Oum Kale <oumkale@chaosnative.com>
This commit is contained in:
OUM NIVRATHI KALE
2021-05-13 20:27:00 +05:30
committed by GitHub
parent 1ba09eb4b7
commit aef7d97c23
25 changed files with 203 additions and 5 deletions

View File

@@ -3,6 +3,8 @@ kind: Workflow
metadata:
generateName: argowf-podtato-head-chaos-
namespace: litmus
labels:
subject : "{{workflow.parameters.adminModeNamespace}}_podtato-head"
spec:
entrypoint: argowf-chaos
serviceAccountName: argo-chaos
@@ -34,7 +36,7 @@ spec:
- name: install-chaos-experiments
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args:
- "kubectl apply -f https://hub.litmuschaos.io/api/chaos/master?file=charts/generic/experiments.yaml -n
@@ -52,6 +54,8 @@ spec:
metadata:
name: podtato-head-pod-delete-chaos
namespace: {{workflow.parameters.adminModeNamespace}}
labels:
context: "{{workflow.parameters.adminModeNamespace}}_podtato-head"
spec:
appinfo:
appns: {{workflow.parameters.adminModeNamespace}}

View File

@@ -3,6 +3,8 @@ kind: CronWorkflow
metadata:
name: argowf-podtato-head-chaos-cron-wf
namespace: litmus
labels:
subject : "{{workflow.parameters.adminModeNamespace}}_podtato-head"
spec:
schedule: "0 * * * *"
concurrencyPolicy: "Forbid"
@@ -38,7 +40,7 @@ spec:
- name: install-chaos-experiments
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args:
- "kubectl apply -f https://hub.litmuschaos.io/api/chaos/master?file=charts/generic/experiments.yaml -n
@@ -56,6 +58,8 @@ spec:
metadata:
name: podtato-head-pod-delete-chaos
namespace: {{workflow.parameters.adminModeNamespace}}
labels:
context: "{{workflow.parameters.adminModeNamespace}}_podtato-head"
spec:
appinfo:
appns: {{workflow.parameters.adminModeNamespace}}