You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The query and http.config are passed in via the Helm chart. So I can't manually specify an additional flag of http.config because of duplicate keys, which could include my basic_auth credentials as described here.
How am I supposed to authenticate to the query API? Is there a simpler way that I may be missing?
And why is there a disparity between the different Thanos components? Why does the query API leverage basic_auth and the rest of the components require basic_auth_users configuration?
I hope I explained my problem clearly enough. If you have any comments, questions, or suggestions, please do reply.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Context:
I'm busy setting up a Thanos stack. So far, things have been smooth sailing.
I've deployed the stack using a Helm Chart
I've added basic authentication:
which generates something similar to this:
which is injected into all my pods.
My problem:
I cannot get my Thanos Ruler to authenticate to my Thanos query API.
The error I receive:
My arguments passed into the Ruler container, this worked perfectly fine without authentication:
The
query
andhttp.config
are passed in via the Helm chart. So I can't manually specify an additional flag ofhttp.config
because of duplicate keys, which could include mybasic_auth
credentials as described here.How am I supposed to authenticate to the query API? Is there a simpler way that I may be missing?
And why is there a disparity between the different Thanos components? Why does the query API leverage
basic_auth
and the rest of the components requirebasic_auth_users
configuration?I hope I explained my problem clearly enough. If you have any comments, questions, or suggestions, please do reply.
Beta Was this translation helpful? Give feedback.
All reactions