Integrate collectd, prometheus and grafana.
[multicloud/k8s.git] / kud / tests / vnfs / comp-app / collection / app2 / helm / prometheus-operator / templates / prometheus / additionalAlertmanagerConfigs.yaml
1 {{- if and .Values.prometheus.enabled .Values.prometheus.prometheusSpec.additionalAlertManagerConfigs }}
2 apiVersion: v1
3 kind: Secret
4 metadata:
5   name: {{ template "prometheus-operator.fullname" . }}-prometheus-am-confg
6   namespace: {{ template "prometheus-operator.namespace" . }}
7 {{- if .Values.prometheus.prometheusSpec.additionalPrometheusSecretsAnnotations }}
8   annotations:
9 {{ toYaml .Values.prometheus.prometheusSpec.additionalPrometheusSecretsAnnotations | indent 4 }}
10 {{- end }}
11   labels:
12     app: {{ template "prometheus-operator.name" . }}-prometheus-am-confg
13 {{ include "prometheus-operator.labels" . | indent 4 }}
14 data:
15   additional-alertmanager-configs.yaml: {{ toYaml .Values.prometheus.prometheusSpec.additionalAlertManagerConfigs | b64enc | quote }}
16 {{- end }}