From 944a9eb87342cdb1e3ebc9b421e21e07f7678eac Mon Sep 17 00:00:00 2001 From: Mohammed Naser Date: Sun, 8 Dec 2019 19:42:13 -0500 Subject: [PATCH] [argo-cd] do not include rules by default This makes the Helm chart not include any rules by default and make it opt-in for the user to add them. --- charts/argo-cd/values.yaml | 50 +++++++++++++++++++------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/charts/argo-cd/values.yaml b/charts/argo-cd/values.yaml index 8434dbd8..e022b1d3 100644 --- a/charts/argo-cd/values.yaml +++ b/charts/argo-cd/values.yaml @@ -113,31 +113,31 @@ controller: # additionalLabels: {} rules: enabled: false - spec: - - alert: ArgoAppMissing - expr: | - absent(argocd_app_info) - for: 15m - labels: - severity: critical - annotations: - summary: "[ArgoCD] No reported applications" - description: > - ArgoCD has not reported any applications data for the past 15 minutes which - means that it must be down or not functioning properly. This needs to be - resolved for this cloud to continue to maintain state. - - alert: ArgoAppNotSynced - expr: | - argocd_app_sync_status{sync_status!="Synced"} == 1 - for: 12h - labels: - severity: warning - annotations: - summary: "[{{`{{$labels.name}}`}}] Application not synchronized" - description: > - The application [{{`{{$labels.name}}`}} has not been synchronized for over - 12 hours which means that the state of this cloud has drifted away from the - state inside Git. + spec: [] + # - alert: ArgoAppMissing + # expr: | + # absent(argocd_app_info) + # for: 15m + # labels: + # severity: critical + # annotations: + # summary: "[ArgoCD] No reported applications" + # description: > + # ArgoCD has not reported any applications data for the past 15 minutes which + # means that it must be down or not functioning properly. This needs to be + # resolved for this cloud to continue to maintain state. + # - alert: ArgoAppNotSynced + # expr: | + # argocd_app_sync_status{sync_status!="Synced"} == 1 + # for: 12h + # labels: + # severity: warning + # annotations: + # summary: "[{{`{{$labels.name}}`}}] Application not synchronized" + # description: > + # The application [{{`{{$labels.name}}`}} has not been synchronized for over + # 12 hours which means that the state of this cloud has drifted away from the + # state inside Git. # selector: # prometheus: kube-prometheus # namespace: monitoring