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

operator: Improve messages for errors in storage secret #11824

Merged
merged 4 commits into from Jan 30, 2024

Conversation

xperimental
Copy link
Collaborator

@xperimental xperimental commented Jan 30, 2024

What this PR does / why we need it:

The kverrors library we currently use to emit errors found in the storage secret is not well suited for this task, because the Error() output does not contain the structured metadata which makes many error messages ambiguous. As we use these error messages in the status of the LokiStack this is not helpful for the user.

Which issue(s) this PR fixes:

Special notes for your reviewer:

This has been extracted from #11802. That PR needs to be updated again when this is merged.

Checklist

  • Reviewed the CONTRIBUTING.md guide (required)
  • Tests updated
  • CHANGELOG.md updated

@xperimental xperimental self-assigned this Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants