From e638d92d1f48e0747fae96cd0606a52525ce9bf8 Mon Sep 17 00:00:00 2001 From: Srivahni Date: Fri, 22 Mar 2019 16:22:35 -0700 Subject: Move Prometheus-operator to operator package Change-Id: I9f3b1a67c62303e40c46fa9d28abe0339e248ed6 Issue-ID: ONAPARC-444 Signed-off-by: Srivahni --- .../templates/prometheus/additionalAlertRelabelConfigs.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 vnfs/DAaaS/operator/charts/prometheus-operator/templates/prometheus/additionalAlertRelabelConfigs.yaml (limited to 'vnfs/DAaaS/operator/charts/prometheus-operator/templates/prometheus/additionalAlertRelabelConfigs.yaml') diff --git a/vnfs/DAaaS/operator/charts/prometheus-operator/templates/prometheus/additionalAlertRelabelConfigs.yaml b/vnfs/DAaaS/operator/charts/prometheus-operator/templates/prometheus/additionalAlertRelabelConfigs.yaml new file mode 100644 index 00000000..1c54f40b --- /dev/null +++ b/vnfs/DAaaS/operator/charts/prometheus-operator/templates/prometheus/additionalAlertRelabelConfigs.yaml @@ -0,0 +1,11 @@ +{{- if and .Values.prometheus.enabled .Values.prometheus.prometheusSpec.additionalAlertRelabelConfigs }} +apiVersion: v1 +kind: Secret +metadata: + name: {{ template "prometheus-operator.fullname" . }}-prometheus-am-relabel-confg + labels: + app: {{ template "prometheus-operator.name" . }}-prometheus-am-relabel-confg +{{ include "prometheus-operator.labels" . | indent 4 }} +data: + additional-alert-relabel-configs.yaml: {{ toYaml .Values.prometheus.prometheusSpec.additionalAlertRelabelConfigs | b64enc | quote }} +{{- end }} \ No newline at end of file -- cgit 1.2.3-korg