From 8d5aab1951a6848ad43b56a3294fd32680f67dc4 Mon Sep 17 00:00:00 2001 From: Psycho Mantys Date: Thu, 30 May 2024 20:22:44 -0300 Subject: [PATCH] Update servicemonitor.yaml Signed-off-by: Psycho Mantys --- .../argo-cd/templates/argocd-applicationset/servicemonitor.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/argo-cd/templates/argocd-applicationset/servicemonitor.yaml b/charts/argo-cd/templates/argocd-applicationset/servicemonitor.yaml index 5b3038ca..91fe606b 100644 --- a/charts/argo-cd/templates/argocd-applicationset/servicemonitor.yaml +++ b/charts/argo-cd/templates/argocd-applicationset/servicemonitor.yaml @@ -1,4 +1,4 @@ -{{- if and (or .Values.applicationSet.metrics.disableAPICheck (.Capabilities.APIVersions.Has "monitoring.coreos.com/v1")) .Values.applicationSet.metrics.enabled .Values.applicationSet.metrics.serviceMonitor.enabled }} +{{- if and (or .Values.applicationSet.metrics.serviceMonitor.disableAPICheck (.Capabilities.APIVersions.Has "monitoring.coreos.com/v1")) .Values.applicationSet.metrics.enabled .Values.applicationSet.metrics.serviceMonitor.enabled }} apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor metadata: