X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=kubernetes%2Fpolicy%2Fcomponents%2Fpolicy-api%2Ftemplates%2FserviceMonitor.yaml;h=8284c73ed119027f17f6a1debee7491185c93c45;hb=e4aac7a3c577b7bb9eaae93387d482f952ee4b72;hp=dbf6a7cd6ac44055f978f36b03ed411f7b62af9c;hpb=7074725e113c063f335c9a5810b7ac3eab3097cd;p=oom.git diff --git a/kubernetes/policy/components/policy-api/templates/serviceMonitor.yaml b/kubernetes/policy/components/policy-api/templates/serviceMonitor.yaml index dbf6a7cd6a..8284c73ed1 100644 --- a/kubernetes/policy/components/policy-api/templates/serviceMonitor.yaml +++ b/kubernetes/policy/components/policy-api/templates/serviceMonitor.yaml @@ -18,6 +18,6 @@ # ============LICENSE_END========================================================= */}} -{{- if .Values.prometheus.enabled }} +{{- if .Values.global.prometheusEnabled }} {{ include "common.serviceMonitor" . }} -{{- end }} \ No newline at end of file +{{- end }}