github.com/verrazzano/verrazzano@v1.7.0/platform-operator/thirdparty/charts/prometheus-community/kube-prometheus-stack/templates/prometheus/additionalAlertRelabelConfigs.yaml (about)

     1  {{- if and .Values.prometheus.enabled .Values.prometheus.prometheusSpec.additionalAlertRelabelConfigs }}
     2  apiVersion: v1
     3  kind: Secret
     4  metadata:
     5    name: {{ template "kube-prometheus-stack.fullname" . }}-prometheus-am-relabel-confg
     6    namespace: {{ template "kube-prometheus-stack.namespace" . }}
     7  {{- if .Values.prometheus.prometheusSpec.additionalPrometheusSecretsAnnotations }}
     8    annotations:
     9  {{ toYaml .Values.prometheus.prometheusSpec.additionalPrometheusSecretsAnnotations | indent 4 }}
    10  {{- end }}
    11    labels:
    12      app: {{ template "kube-prometheus-stack.name" . }}-prometheus-am-relabel-confg
    13  {{ include "kube-prometheus-stack.labels" . | indent 4 }}
    14  data:
    15    additional-alert-relabel-configs.yaml: {{ toYaml .Values.prometheus.prometheusSpec.additionalAlertRelabelConfigs | b64enc | quote }}
    16  {{- end }}