-
Notifications
You must be signed in to change notification settings - Fork 8.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thanos Ruler: got 401 Body: Unauthorized #25729
Comments
I asked the same question on the Thanos Github discussion page, hoping for a response in case anyone else had a similar issue, but I haven't received any feedback yet. |
The issue may not be directly related to the Bitnami container image or Helm chart, but rather to how the application is being utilized or configured in your specific environment. Having said that, if you think that's not the case and are interested in contributing a solution, we welcome you to create a pull request. The Bitnami team is excited to review your submission and offer feedback. You can find the contributing guidelines here. Your contribution will greatly benefit the community. Feel free to reach out if you have any questions or need assistance. With that said, we'll keep this ticket open until the stale bot automatically closes it, in case someone from the community contributes valuable insights. |
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback. |
Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary. |
Name and Version
bitnami/thanos 15.4.4
What architecture are you using?
amd64
What steps will reproduce the bug?
I'm busy setting up a Thanos stack. So far, things have been smooth sailing.
I've deployed the stack using the
thanos
Helm chart, provided by Bitnami. I also have thekube-prom-stack
deployed that is remote writing metrics into mythanos-receiver
(which has basic auth) - this is working perfectly.I've added basic authentication, via values.yaml:
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, noting that everything works perfectly fine without an authentication set:
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 requirebasic_auth_users
configuration?I appreciate any assistance!
Are you using any custom parameters or values?
Yes, here's a sample omitted for brevity
What is the expected behavior?
I expect the authentication to work out seamlessly, like the other components.
What do you see instead?
The text was updated successfully, but these errors were encountered: