k8s Prometheus pushgateway basic auth error

39 Views Asked by At

I'm using prometheus-pushgateway helm chart with the latest version 2.6.0

I've configured basic auth with this guide, but for some reason it says that my credentials are incorrect

Below is ingress controller logs

2024/01/31 16:12:46 [error] 1146#1146: *7443568 user "myuser": password mismatch, client: 10.109.98.17, server: pushgateway.mydomain.com, request: "GET / HTTP/2.0", host: "pushgateway.mydomain.com"

despite this when I'm checking generated secret - values are correct

command used to check secret

kubectl -n prometheus get secrets prometheus-pushgateway-basic-auth --output="jsonpath={.data.\auth}" | base64 --decode

Also the same values are in the /etc/ingress-controller/auth/passwd file

1

There are 1 best solutions below

0
Ron Etch On

You may try the following links below that might help you with your issue: