Skip to content
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

[loki] Configuration for sigv4 authentication in the ruler being ignored #6293

Closed
taharah opened this issue Jun 2, 2022 · 0 comments · Fixed by #6358
Closed

[loki] Configuration for sigv4 authentication in the ruler being ignored #6293

taharah opened this issue Jun 2, 2022 · 0 comments · Fixed by #6358

Comments

@taharah
Copy link
Contributor

taharah commented Jun 2, 2022

Describe the bug
Currently, the sigv4 authentication configuration in the Ruler is being overwritten, and ignored, when the per tenant overrides are merged in (see https://github.com/grafana/loki/blob/v2.5.0/pkg/ruler/registry.go#L232). As a result, there is no way to configure sigv4 authentication for remote writes. Remote writes fail with the error:

err="server returned HTTP status 403 Forbidden: {\"message\":\"Missing Authentication Token\"}"

To Reproduce
Steps to reproduce the behavior:

  1. Started Loki v2.5.0
  2. Configured Ruler to use sigv4 authentication for the remote write URL
  3. Create a recording rule

Expected behavior
Expected the sigv4 authentication configuration to be passed into the client configuration.

Environment:

  • Infrastructure: k8s
  • Deployment tool: helm

Screenshots, Promtail config, or terminal output
If applicable, add any output to help explain your problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant