-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Helm Operator doesn't work with Kube Prometheus Stack with additionalPrometheusRulesMap yaml list #4636
Comments
@perk-sumo Thanks for raising the issue. The It would seem that this What this means is that the Helm operator would need to be updated to handle Thanks to the great feedback on this issue from @joelanford on slack. |
Interesting, TIL! Sounds like ansible-operator may have to handle this case as well. /kind feature |
@perk-sumo As a short term workaround, if you didn't set |
@estroz Do you think that this should be re-categorized to a bug? |
Yes. /remove-kind feature |
Thanks @estroz |
Bug Report
Hi!
Helm Operator doesn't seem to work with Kube Prometheus Stack when there is a list used inside the
additionalPrometheusRulesMap
configuration.The same config works just fine when used with
helm v3.2.4
without the operator.Without the
additionalPrometheusRulesMap
key the helm operator works as expected.What did you do?
What did you expect to see?
I should see the Helm chart deployed.
I should see applied k8s objects in the operator logs.
I should be able to edit / delete the CR.
What did you see instead? Under which circumstances?
The Helm chart has been deployed and Prometheus seems to be working fine. I can uninstall it without the operator using the external helm command.
In the operator logs I don't see the applied k8s objects.
Also in the operator logs I can see the following error line:
I cannot change nor delete the previously applied CR.
Environment
Operator type:
/language helm
Kubernetes cluster type:
microk8s
$ operator-sdk version
$ kubectl version
$ helm search repo prometheus-community/kube-prometheus-stack
Possible Solution
Additional context
The text was updated successfully, but these errors were encountered: