1 {{- if and .Values.prometheus.enabled .Values.prometheus.prometheusSpec.additionalAlertRelabelConfigs }}
5 name: {{ template "prometheus-operator.fullname" . }}-prometheus-am-relabel-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-relabel-confg
13 {{ include "prometheus-operator.labels" . | indent 4 }}
15 additional-alert-relabel-configs.yaml: {{ toYaml .Values.prometheus.prometheusSpec.additionalAlertRelabelConfigs | b64enc | quote }}