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: CronWorkflow
metadata:
name: argo-chaos-node-cpu-cron-wf
namespace: litmus
labels:
subject: "{{workflow.parameters.context}}"
spec:
schedule: "0 * * * *"
concurrencyPolicy: "Forbid"
@@ -17,6 +19,8 @@ spec:
parameters:
- name: adminModeNamespace
value: "litmus"
- name: context
value: "node-cpu-hog_infra"
templates:
- name: argowf-chaos
steps:
@@ -124,6 +128,8 @@ spec:
metadata:
name: kube-proxy-node-cpu-hog-chaos
namespace: {{workflow.parameters.adminModeNamespace}}
labels:
context: "{{workflow.parameters.context}}"
spec:
jobCleanUpPolicy: retain
engineState: 'active'