mirror of
https://github.com/bitnami/charts.git
synced 2026-03-16 14:57:08 +08:00
[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:
@@ -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
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user