diff --git a/charts/litmus/Chart.yaml b/charts/litmus/Chart.yaml index d8a298a6..25f3c94e 100644 --- a/charts/litmus/Chart.yaml +++ b/charts/litmus/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: "3.0.0" description: A Helm chart to install ChaosCenter name: litmus -version: 3.0.1 +version: 3.0.2 kubeVersion: ">=1.16.0-0" home: https://litmuschaos.io sources: diff --git a/charts/litmus/README.md b/charts/litmus/README.md index 390adb97..1f6c2370 100644 --- a/charts/litmus/README.md +++ b/charts/litmus/README.md @@ -1,6 +1,6 @@ # litmus -![Version: 3.0.1](https://img.shields.io/badge/Version-3.0.1-informational?style=flat-square) ![AppVersion: 3.0.0](https://img.shields.io/badge/AppVersion-3.0.0-informational?style=flat-square) +![Version: 3.0.2](https://img.shields.io/badge/Version-3.0.2-informational?style=flat-square) ![AppVersion: 3.0.0](https://img.shields.io/badge/AppVersion-3.0.0-informational?style=flat-square) A Helm chart to install ChaosCenter @@ -232,6 +232,7 @@ We separated service configuration from `portal.server.service` to `portal.serve | upgradeAgent.controlPlane.image.repository | string | `"upgrade-agent-cp"` | | | upgradeAgent.controlPlane.image.tag | string | `"3.0.0"` | | | upgradeAgent.controlPlane.restartPolicy | string | `"OnFailure"` | | +| upgradeAgent.enabled | bool | `true` | | | upgradeAgent.nodeSelector | object | `{}` | | | upgradeAgent.resources | object | `{}` | | | upgradeAgent.tolerations | list | `[]` | | diff --git a/charts/litmus/templates/post-upgrade-hook.yaml b/charts/litmus/templates/post-upgrade-hook.yaml index 7580232d..b9c41ce5 100644 --- a/charts/litmus/templates/post-upgrade-hook.yaml +++ b/charts/litmus/templates/post-upgrade-hook.yaml @@ -1,3 +1,4 @@ +{{- if .Values.upgradeAgent.enabled }} apiVersion: batch/v1 kind: Job metadata: @@ -76,3 +77,4 @@ spec: tolerations: {{- toYaml . | nindent 8 }} {{- end }} +{{- end }} diff --git a/charts/litmus/values.yaml b/charts/litmus/values.yaml index bc5e6507..a8990fd3 100644 --- a/charts/litmus/values.yaml +++ b/charts/litmus/values.yaml @@ -57,6 +57,7 @@ ingress: # hosts: [] upgradeAgent: + enabled: true controlPlane: image: repository: upgrade-agent-cp