Error: UPGRADE FAILED: cannot patch "monitoring-kube-prometheu-kubernetes-apps" with kind PrometheusRule: admission webhook "prometheusrulemutate.monitoring.coreos.com" denied the request: Rules are not valid && cannot patch "monitoring-kube-prometheu-kubernetes-storage" with kind PrometheusRule: admission webhook "prometheusrulemutate.monitoring.coreos.com" denied the request: Rules are not valid
Is my regex wrong or just not working for golang ?
In the kube-prometheus-stack, I want to disable alerts coming from namespaces beginning with "dedicated-" so in the values I set
But it returned me this error :
Error: UPGRADE FAILED: cannot patch "monitoring-kube-prometheu-kubernetes-apps" with kind PrometheusRule: admission webhook "prometheusrulemutate.monitoring.coreos.com" denied the request: Rules are not valid && cannot patch "monitoring-kube-prometheu-kubernetes-storage" with kind PrometheusRule: admission webhook "prometheusrulemutate.monitoring.coreos.com" denied the request: Rules are not valid
Is my regex wrong or just not working for golang ?