diff --git a/charts/litmus-agent/README.md b/charts/litmus-agent/README.md index 41dac0f9..9c1f0422 100644 --- a/charts/litmus-agent/README.md +++ b/charts/litmus-agent/README.md @@ -55,6 +55,7 @@ $ helm install litmus-agent litmuschaos/litmus-agent \ | AGENT_DESCRIPTION | string | `"chaos agent deployed with helm"` | | | AGENT_NAME | string | `"helm-agent"` | | | AGENT_NODE_SELECTOR | string | `""` | | +| APP_VERSION | string | `"3.0.0-beta8"` | | | CLUSTER_TYPE | string | `"external"` | | | LITMUS_BACKEND_URL | string | `""` | | | LITMUS_PASSWORD | string | `"litmus"` | | diff --git a/charts/litmus-agent/templates/hook-pre-install-job.yaml b/charts/litmus-agent/templates/hook-pre-install-job.yaml index 8702a397..4b83cd51 100644 --- a/charts/litmus-agent/templates/hook-pre-install-job.yaml +++ b/charts/litmus-agent/templates/hook-pre-install-job.yaml @@ -64,7 +64,7 @@ spec: value: {{ .Release.Namespace }} - name: APP_VERSION - value: "3.0.0-beta8" #For compatibility with 3.0.0-beta8 ChaosCenter, Version has to be same + value: {{ .Values.APP_VERSION }} - name: SERVICE_ACCOUNT_NAME value: {{ include "litmus-agent.serviceAccountName" . }} diff --git a/charts/litmus-agent/values.yaml b/charts/litmus-agent/values.yaml index 0b277122..fd4af9fc 100644 --- a/charts/litmus-agent/values.yaml +++ b/charts/litmus-agent/values.yaml @@ -16,6 +16,8 @@ AGENT_NODE_SELECTOR: "" SA_EXISTS: true NS_EXISTS: true CLUSTER_TYPE: "external" +# For compatibility with 3.0.0-beta8 ChaosCenter, Version has to be same +APP_VERSION: "3.0.0-beta8" SKIP_SSL: "false" # PLATFORM_NAME: AWS, GKE, Openshift, Rancher, Others