Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 11661

k8s Prometheus pushgateway basic auth error

$
0
0

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


Viewing all articles
Browse latest Browse all 11661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>