From 9d859cbcbaaaf8602bd70926e74ad820968fe197 Mon Sep 17 00:00:00 2001 From: TheRealNoob Date: Sun, 26 Feb 2023 10:54:19 -0600 Subject: [PATCH] syntax cleanup the previous format was incorrectly indented and thus misleading. Hopefully this aligns it with the other examples I see scattered around the file. Also I should note that I think having a selector on this rule is confusing. Rules can't have selectors. Signed-off-by: TheRealNoob --- charts/argo-cd/values.yaml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/charts/argo-cd/values.yaml b/charts/argo-cd/values.yaml index d7c5c853..edcdbb4f 100755 --- a/charts/argo-cd/values.yaml +++ b/charts/argo-cd/values.yaml @@ -714,7 +714,15 @@ controller: rules: # -- Deploy a PrometheusRule for the application controller enabled: false - # -- PrometheusRule.Spec for the application controller + # -- PrometheusRule namespace + namespace: "" # "monitoring" + + selector: {} + # prometheus: kube-prometheus + additionalLabels: {} + annotations: {} + + # -- PrometheusRule.Spec for the application controller spec: [] # - alert: ArgoAppMissing # expr: | @@ -740,11 +748,6 @@ controller: # 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 - # additionalLabels: {} - # annotations: {} ## Enable this and set the rules: to whatever custom rules you want for the Cluster Role resource. ## Defaults to off