Open rosh0450 opened 8 months ago
Interested in this as well -- setting up basic auth at the ingress level is a little more involved than we'd like it to be for our current setup.
https://github.com/prometheus-operator/prometheus-operator/issues/4200 seems to have some more detail on why it's not readily supported
Is your feature request related to a problem ?
No way to enable basic auth for prometheus http api and ui endpoints.
Describe the solution you'd like.
To be able to use basic auth with prometheus http api and ui without setting up ingress or TLS.
Describe alternatives you've considered.
Other alternative are setting up ingress or TLS.
Additional context.
When i deployed the helm chart with release name
kps
, i see a secret has been created -prometheus-kps-kube-prometheus-stack-prometheus-web-config
And this secert is being used to create volume
web-config
in the prometheus podand this is again used to create a volume mount in the pod
which is in turn used in setting up the value for web.config.file flag
So some how this basic auth is being setup but the secret value is empty and now i am unable to figure out how to set the username and password for the above secret.