diff --git a/charts/keep/Chart.yaml b/charts/keep/Chart.yaml index 944f532..52c72be 100644 --- a/charts/keep/Chart.yaml +++ b/charts/keep/Chart.yaml @@ -1,10 +1,10 @@ apiVersion: v2 name: keep -version: 0.1.10 +version: 0.1.11 description: Keep Helm Chart type: application icon: https://platform.keephq.dev/_next/image?url=%2Fkeep.png&w=48&q=75 -appVersion: 0.24.1 +appVersion: 0.24.2 deprecated: false annotations: app: keep diff --git a/charts/keep/templates/keep-backend.yaml b/charts/keep/templates/keep-backend.yaml index 8f235db..82f0a96 100644 --- a/charts/keep/templates/keep-backend.yaml +++ b/charts/keep/templates/keep-backend.yaml @@ -16,9 +16,8 @@ spec: keep-component: backend template: metadata: - {{- with .Values.backend.podAnnotations }} + {{- if .Values.backend.podAnnotations }} annotations: - {{- if .Values.backend.podAnnotations }} {{- range $key, $value := .Values.backend.podAnnotations }} {{- if kindIs "string" $value }} {{ $key }}: {{ tpl $value $ | quote }} @@ -26,7 +25,6 @@ spec: {{ $key }}: {{ $value | toYaml | nindent 8 }} {{- end }} {{- end }} - {{- end }} {{- end }} labels: {{- include "keep.selectorLabels" . | nindent 8 }}