Hi everyone,
I'm currently trying to inject custom rules into my Prometheus Operator setup via a custom values.yaml for prometheus operator. I am attempting to do so via setting "prometheusRules" in values.yaml, since I found that here:
# default rules are in templates/general.rules.yaml
# prometheusRules: {}
Despite many permutations, I can't get this to work. My last attempt is at the bottom; the previous attempt didn't have a "groups:" layer.
Is there any examples of a working values.yaml file that contains a non-empty prometheusRules for custom rule injection? Or am I misunderstanding how I should add custom rules with my helm template?
Ideally, I'd like to be able to do this all from yaml files I tell helm about when I do the install.
Thank you!!
Dan.