[bitnami/kube-prometheus] Fix - non consistent nindent on alertmanager templates (#11805)

* FIX - non consistent nindent on AM secret

non consistent nindent on alertmanager secret
labels were indented to 4 spaces
commonlabels were indented to 10 spaces
this is causing error in helm templating :
  helm.go:88: [debug] error converting YAML to JSON: yaml: line 12: mapping values are not allowed in this context
  YAML parse error on kube-prometheus/templates/alertmanager/secrets.yaml

Signed-off-by: hicwic <steve.eckerlein@gmail.com>

* Bump version

Bump version of kube-prometheus chart

Signed-off-by: hicwic <steve.eckerlein@gmail.com>

* Fix commonLabels inconsistency in many files for AM

Signed-off-by: hicwic <steve.eckerlein@gmail.com>

* Bump version to 8.0.17

Signed-off-by: hicwic <steve.eckerlein@gmail.com>

Signed-off-by: hicwic <steve.eckerlein@gmail.com>
Co-authored-by: Alejandro Moreno <amorenoc@vmware.com>
This commit is contained in:
hicwic
2022-09-02 12:18:16 +02:00
committed by GitHub
parent e60aea0d65
commit 7c940b6a73
5 changed files with 5 additions and 5 deletions

View File

@@ -35,4 +35,4 @@ sources:
- https://github.com/bitnami/containers/tree/main/bitnami/prometheus
- https://github.com/bitnami/containers/tree/main/bitnami/alertmanager
- https://github.com/prometheus-operator/kube-prometheus
version: 8.1.3
version: 8.1.4

View File

@@ -7,7 +7,7 @@ metadata:
namespace: {{ include "common.names.namespace" . | quote }}
labels: {{- include "kube-prometheus.alertmanager.labels" . | nindent 4 }}
{{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" (dict "value" .Values.commonLabels "context" $) | nindent 10 }}
{{- include "common.tplvalues.render" (dict "value" .Values.commonLabels "context" $) | nindent 4 }}
{{- end }}
{{- if .Values.commonAnnotations }}
annotations: {{- include "common.tplvalues.render" (dict "value" .Values.commonAnnotations "context" $) | nindent 10 }}

View File

@@ -7,7 +7,7 @@ metadata:
namespace: {{ include "common.names.namespace" . | quote }}
labels: {{- include "kube-prometheus.alertmanager.labels" . | nindent 4 }}
{{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" (dict "value" .Values.commonLabels "context" $) | nindent 10 }}
{{- include "common.tplvalues.render" (dict "value" .Values.commonLabels "context" $) | nindent 4 }}
{{- end }}
{{- if .Values.commonAnnotations }}
annotations: {{- include "common.tplvalues.render" (dict "value" .Values.commonAnnotations "context" $) | nindent 10 }}

View File

@@ -7,7 +7,7 @@ metadata:
namespace: {{ include "common.names.namespace" . | quote }}
labels: {{- include "kube-prometheus.alertmanager.labels" . | nindent 4 }}
{{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" (dict "value" .Values.commonLabels "context" $) | nindent 10 }}
{{- include "common.tplvalues.render" (dict "value" .Values.commonLabels "context" $) | nindent 4 }}
{{- end }}
{{- if .Values.commonAnnotations }}
annotations: {{- include "common.tplvalues.render" (dict "value" .Values.commonAnnotations "context" $) | nindent 10 }}

View File

@@ -6,7 +6,7 @@ metadata:
namespace: {{ include "common.names.namespace" . | quote }}
labels: {{- include "kube-prometheus.alertmanager.labels" . | nindent 4 }}
{{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" (dict "value" .Values.commonLabels "context" $) | nindent 10 }}
{{- include "common.tplvalues.render" (dict "value" .Values.commonLabels "context" $) | nindent 4 }}
{{- end }}
annotations:
{{- if .Values.alertmanager.service.annotations }}