Open phsiao opened 5 years ago
Thanks for reporting!
it's a bit strange, as the leaked password is returned by a http.Client.Do()
call error, which should be correctly redacted. See https://github.com/golang/go/blob/master/src/net/http/client.go#L594
I have a closer look what's wrong here
this is fixed in go1.13, but we're still on go1.12. See https://github.com/golang/go/issues/31808. I'll try to switch to go1.13 as fast as possible.
Looks like there are still some paths exist that do not handle redaction as expected.
Using a sandbox cluster where all user credentials are randomly generated, before the cluster is ready the prometheus-exporter would show this:
This is our kubernetes pod container definition
where the two env vars are injected from secrets.