From f678f88f112832c35f37bd9a104bfd23c28eb431 Mon Sep 17 00:00:00 2001 From: Aman Shah Date: Mon, 18 Nov 2024 14:43:10 +0530 Subject: [PATCH] Added the template file for domain rule --- .../templates/prometheusRule-domain.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 argocd-helm-charts/prometheus-linuxaid/templates/prometheusRule-domain.yaml diff --git a/argocd-helm-charts/prometheus-linuxaid/templates/prometheusRule-domain.yaml b/argocd-helm-charts/prometheus-linuxaid/templates/prometheusRule-domain.yaml new file mode 100644 index 00000000..9a3b76e4 --- /dev/null +++ b/argocd-helm-charts/prometheus-linuxaid/templates/prometheusRule-domain.yaml @@ -0,0 +1,9 @@ +{{- if .Values.prometheusRule.domain }} +apiVersion: monitoring.coreos.com/v1 +kind: PrometheusRule +metadata: + name: domain-rules + namespace: monitoring-{{ .Values.customerid }} +spec: + {{- $.Files.Get "rules/domain.yaml" | nindent 4 }} +{{- end }}