1 {{- if and .Values.prometheus.enabled .Values.prometheus.prometheusSpec.additionalAlertManagerConfigs }}
5 name: {{ template "prometheus-operator.fullname" . }}-prometheus-am-confg
6 namespace: {{ template "prometheus-operator.namespace" . }}
7 {{- if .Values.prometheus.prometheusSpec.additionalPrometheusSecretsAnnotations }}
9 {{ toYaml .Values.prometheus.prometheusSpec.additionalPrometheusSecretsAnnotations | indent 4 }}
12 app: {{ template "prometheus-operator.name" . }}-prometheus-am-confg
13 {{ include "prometheus-operator.labels" . | indent 4 }}
15 additional-alertmanager-configs.yaml: {{ toYaml .Values.prometheus.prometheusSpec.additionalAlertManagerConfigs | b64enc | quote }}