[kube-prometheus-stack] ServiceAccount is not created when RBAC creation is set to false in prometheus-operator/admission-webhooks/job-patch
#4553
Labels
bug
Something isn't working
Describe the bug a clear and concise description of what the bug is.
When rbac resources creation is set to false
global.rbac.create
,serviceAccount
ofprometheus-operator/admission-webhooks/job-patch
is being skipped also.This behavior is different than rest of the chart. For example in
prometheus-operator
rbac and serviceAccount are separated.What's your helm version?
v3.10.2
What's your kubectl version?
v1.28.6
Which chart?
kube-prometheus-stack
What's the chart version?
42.3.0
What happened?
ServiceAccount creation is skipped.
What you expected to happen?
ServiceAccount is created.
How to reproduce it?
helm template or install with
--set global.rbac.create=false
Enter the changed values of values.yaml?
global:
rbac:
create: false
Enter the command that you execute and failing/misfunctioning.
helm install kube-prom-stack prometheus-community/kube-prometheus-stack --version 42.3.0 --set global.rbac.create=false
Anything else we need to know?
No response
The text was updated successfully, but these errors were encountered: