Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign uppassword_file ignored in kubernetes_sd_configs #5210
Comments
simonpasquier
added
kind/bug
component/service discovery
labels
Feb 13, 2019
simonpasquier
referenced this issue
Feb 13, 2019
Merged
discovery/kubernetes: fix support for password_file and bearer_token_file #5211
This comment has been minimized.
This comment has been minimized.
|
Indeed... I've tested #5211 quickly and it seems to be ok but it would good if you could test it too. |
This comment has been minimized.
This comment has been minimized.
|
Wow that was fast, yes I just checkout out your pull request built it and it works like a charm. It also throws the usual errors if the file doesn't exist etc. Thanks a bunch! |
This comment has been minimized.
This comment has been minimized.
|
There is a problem when using the "bearer_token_file" within the kubernetes SD block but it is a different error that I get. #5221 |
simonpasquier
closed this
in
#5211
Feb 20, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
drewboswell commentedFeb 13, 2019
Bug Report
What did you do?
Attempted to use password_file in stead of plaintext password in kubernetes_sd_configs
What did you expect to see?
Authorized http calls
What did you see instead? Under which circumstances?
Unauthorized/401 codes thrown in response
In kubernetes_sd_configs only:
it appears that the password_file variable is ignored completely
Environment
System information:
Linux 4.15.0-45-generic x86_64
Prometheus version:
prometheus, version 2.7.1 (branch: HEAD, revision: 62e591f)
build user: root@f9f82868fc43
build date: 20190131-11:16:59
go version: go1.11.5
Prometheus configuration file: