Closed diversario closed 7 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
d38a199
) 83.33% compared to head (ea011fc
) 83.43%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Wow, this was super fast 🤯
Will this land in kube-burner soon as well?
Wow, this was super fast 🤯
Will this land in kube-burner soon as well?
Yeah, I'll cut a hotfix release with this patch today, I'll ping you when ready
Hey @diversario , checkout kube-burner v1.8.0 https://github.com/cloud-bulldozer/kube-burner/releases/tag/v1.8.0
Type of change
Description
This library is used in
kube-burner
.kube-burner
'sinit
command acceptsusername
,password
andtoken
parameters for connecting to Prometheus. However, it is not possible to connect to Prometheus that is configured with username/password only because this library unconditionally sets theBearer
header, including with an emptytoken
. This results in a 401 from the Prometheus client.Related Tickets & Documents
Checklist before requesting a review
Testing
I tested this by building
kube-burner
with the proposed changes and seeing it successfully connect to my basic auth Prometheus.