diff --git a/charts/litmus/Chart.yaml b/charts/litmus/Chart.yaml index 4379c41a..4f41f36d 100644 --- a/charts/litmus/Chart.yaml +++ b/charts/litmus/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: "2.12.0" description: A Helm chart to install ChaosCenter name: litmus -version: 2.13.0 +version: 2.13.1 kubeVersion: ">=1.16.0-0" home: https://litmuschaos.io sources: diff --git a/charts/litmus/README.md b/charts/litmus/README.md index f07496dc..d8e5aa8e 100644 --- a/charts/litmus/README.md +++ b/charts/litmus/README.md @@ -1,6 +1,6 @@ # litmus -![Version: 2.13.0](https://img.shields.io/badge/Version-2.13.0-informational?style=flat-square) ![AppVersion: 2.12.0](https://img.shields.io/badge/AppVersion-2.12.0-informational?style=flat-square) +![Version: 2.13.1](https://img.shields.io/badge/Version-2.13.1-informational?style=flat-square) ![AppVersion: 2.12.0](https://img.shields.io/badge/AppVersion-2.12.0-informational?style=flat-square) A Helm chart to install ChaosCenter @@ -80,6 +80,7 @@ $ helm install litmus-portal litmuschaos/litmus | portal.frontend.livenessProbe.successThreshold | int | `1` | | | portal.frontend.livenessProbe.timeoutSeconds | int | `5` | | | portal.frontend.nodeSelector | object | `{}` | | +| portal.frontend.podAnnotations | object | `{}` | | | portal.frontend.readinessProbe.initialDelaySeconds | int | `5` | | | portal.frontend.readinessProbe.periodSeconds | int | `10` | | | portal.frontend.readinessProbe.successThreshold | int | `1` | | @@ -181,6 +182,7 @@ $ helm install litmus-portal litmuschaos/litmus | portal.server.graphqlServer.volumes[1].emptyDir | object | `{}` | | | portal.server.graphqlServer.volumes[1].name | string | `"hub-storage"` | | | portal.server.nodeSelector | object | `{}` | | +| portal.server.podAnnotations | object | `{}` | | | portal.server.replicas | int | `1` | | | portal.server.service.annotations | object | `{}` | | | portal.server.service.authRpcServer.port | int | `3030` | | diff --git a/charts/litmus/templates/auth-server-deployment.yaml b/charts/litmus/templates/auth-server-deployment.yaml index c2f0f15d..c36018cf 100644 --- a/charts/litmus/templates/auth-server-deployment.yaml +++ b/charts/litmus/templates/auth-server-deployment.yaml @@ -26,6 +26,12 @@ spec: {{- if .Values.portal.server.customLabels }} {{ toYaml .Values.portal.server.customLabels | nindent 8 }} {{- end }} + {{- if .Values.portal.server.podAnnotations }} + annotations: + {{- range $key, $value := .Values.portal.server.podAnnotations }} + {{ $key }}: {{ $value | quote }} + {{- end }} + {{- end }} spec: automountServiceAccountToken: {{ .Values.portal.server.authServer.automountServiceAccountToken }} serviceAccountName: {{ .Values.portal.server.serviceAccountName }} diff --git a/charts/litmus/templates/frontend-deployment.yaml b/charts/litmus/templates/frontend-deployment.yaml index e597de44..0f60980b 100644 --- a/charts/litmus/templates/frontend-deployment.yaml +++ b/charts/litmus/templates/frontend-deployment.yaml @@ -26,6 +26,12 @@ spec: {{- if .Values.portal.frontend.customLabels }} {{ toYaml .Values.portal.frontend.customLabels | nindent 8 }} {{- end }} + {{- if .Values.portal.frontend.podAnnotations }} + annotations: + {{- range $key, $value := .Values.portal.frontend.podAnnotations }} + {{ $key }}: {{ $value | quote }} + {{- end }} + {{- end }} spec: automountServiceAccountToken: {{ .Values.portal.frontend.automountServiceAccountToken }} {{- if .Values.image.imagePullSecrets }} diff --git a/charts/litmus/templates/server-deployment.yaml b/charts/litmus/templates/server-deployment.yaml index 041d5eb9..48b36d32 100644 --- a/charts/litmus/templates/server-deployment.yaml +++ b/charts/litmus/templates/server-deployment.yaml @@ -26,6 +26,12 @@ spec: {{- if .Values.portal.server.customLabels }} {{ toYaml .Values.portal.server.customLabels | nindent 8 }} {{- end }} + {{- if .Values.portal.server.podAnnotations }} + annotations: + {{- range $key, $value := .Values.portal.server.podAnnotations }} + {{ $key }}: {{ $value | quote }} + {{- end }} + {{- end }} spec: serviceAccountName: {{ .Values.portal.server.serviceAccountName }} {{- if .Values.image.imagePullSecrets }} diff --git a/charts/litmus/values.yaml b/charts/litmus/values.yaml index c162fa10..5f56bed9 100644 --- a/charts/litmus/values.yaml +++ b/charts/litmus/values.yaml @@ -100,6 +100,7 @@ portal: pullPolicy: "Always" containerPort: 8080 customLabels: {} + podAnnotations: {} # my.company.com/tier: "frontend" resources: @@ -296,6 +297,7 @@ portal: nodeSelector: {} tolerations: [] affinity: {} + podAnnotations: {} # OpenShift specific configuration openshift: