From 50d6546a5f094af74d2c015d012044e70d11c8df Mon Sep 17 00:00:00 2001 From: dan-duffy Date: Wed, 23 Aug 2023 11:10:44 +0100 Subject: [PATCH 1/2] Correct deployment commonLabels indentation for pod template --- chart/elastalert2/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chart/elastalert2/templates/deployment.yaml b/chart/elastalert2/templates/deployment.yaml index e421de7d..12640a5f 100644 --- a/chart/elastalert2/templates/deployment.yaml +++ b/chart/elastalert2/templates/deployment.yaml @@ -32,7 +32,7 @@ spec: labels: {{- include "common.labels.standard" . | nindent 8 }} app.kubernetes.io/component: {{ .Values.appKubernetesIoComponent }} {{- if .Values.commonLabels }} - {{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }} + {{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 8 }} {{- end }} spec: {{- if .Values.image.pullSecret }} From 6672764234b5118c9810def37291297aeb544337 Mon Sep 17 00:00:00 2001 From: dan-duffy Date: Wed, 23 Aug 2023 11:17:54 +0100 Subject: [PATCH 2/2] Updated CHANGELOG.md with fix description --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c888f740..b8bda7ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ ## Other changes - [Helm] Expose minReadySeconds parameter to assist in detecting failed deployments - [#1243](https://github.com/jertel/elastalert2/pull/1243) - @alexku7 +- [Helm] Fix commonLabels indentation for the deployment template - [#1250](https://github.com/jertel/elastalert2/pull/1250) - @dan-duffy # 2.13.2