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 <TheRealNoob@users.noreply.github.com>
This commit is contained in:
TheRealNoob 2023-02-26 10:54:19 -06:00 committed by GitHub
parent 3a6617ce8f
commit 9d859cbcba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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