From 2c87b79afbe2bd33d2692090e3f235f9c607ccb4 Mon Sep 17 00:00:00 2001 From: litmusbot Date: Tue, 15 Jun 2021 21:57:31 +0000 Subject: [PATCH] 940850521: version upgraded for chaos-charts --- charts/aws-ssm/experiments.yaml | 33 +++++++++++++++++++++++++-------- 1 file changed, 25 insertions(+), 8 deletions(-) diff --git a/charts/aws-ssm/experiments.yaml b/charts/aws-ssm/experiments.yaml index 148633f..48780a0 100644 --- a/charts/aws-ssm/experiments.yaml +++ b/charts/aws-ssm/experiments.yaml @@ -25,6 +25,7 @@ spec: - "pods/log" - "pods/exec" - "secrets" + - "configmaps" - "chaosengines" - "chaosexperiments" - "chaosresults" @@ -35,7 +36,7 @@ spec: - "patch" - "update" - "delete" - image: "litmuschaos/go-runner:latest" + image: "litmuschaos/go-runner:ci" imagePullPolicy: Always args: - -c @@ -48,6 +49,7 @@ spec: - name: CHAOS_INTERVAL value: '60' + # Period to wait before and after injection of chaos in sec - name: RAMP_TIME @@ -66,6 +68,10 @@ spec: - name: SEQUENCE value: 'parallel' + # Provide the path of aws credentials mounted from secret + - name: AWS_SHARED_CREDENTIALS_FILE + value: '/tmp/cloud_config.yml' + # Provide the name of ssm doc # if not using the default stress docs - name: DOCUMENT_NAME @@ -98,9 +104,9 @@ spec: - name: MEMORY_PERCENTAGE value: '80' - # provide the CPU chore to comsume - # giving 0 will consume all the available cpu cores - - name: CPU + # provide the CPU chores to be comsumed + # 0 will consume all the available cpu cores + - name: CPU_CORE value: '0' # provide the LIB @@ -113,6 +119,10 @@ spec: app.kubernetes.io/part-of: litmus app.kubernetes.io/component: experiment-job app.kubernetes.io/version: latest + secrets: + - name: cloud-secret + mountPath: /tmp/ + --- apiVersion: litmuschaos.io/v1alpha1 description: @@ -141,6 +151,7 @@ spec: - "pods/log" - "pods/exec" - "secrets" + - "configmaps" - "chaosengines" - "chaosexperiments" - "chaosresults" @@ -151,7 +162,7 @@ spec: - "patch" - "update" - "delete" - image: "litmuschaos/go-runner:latest" + image: "litmuschaos/go-runner:ci" imagePullPolicy: Always args: - -c @@ -182,6 +193,10 @@ spec: - name: SEQUENCE value: 'parallel' + # Provide the path of aws credentials mounted from secret + - name: AWS_SHARED_CREDENTIALS_FILE + value: '/tmp/cloud_config.yml' + # percentage of total instance to target - name: INSTANCE_AFFECTED_PERC value: '' @@ -218,9 +233,9 @@ spec: - name: MEMORY_PERCENTAGE value: '80' - # provide the CPU chore to comsume - # giving 0 will consume all the available cpu cores - - name: CPU + # provide the CPU chores to comsumed + # 0 will consume all the available cpu cores + - name: CPU_CORE value: '0' # provide the LIB @@ -236,3 +251,5 @@ spec: secrets: - name: cloud-secret mountPath: /tmp/ + +---