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

Capture configuration files & runtime config in support bundle #2094

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

dehaansa
Copy link
Contributor

PR Description

Add configuration sources (local file & remote config) to the support bundle.

One thing that requires consideration -- this is not currently doing any redaction of the configuration files, should we make this opt-in/opt-out rather than always collected?

Which issue(s) this PR fixes

#2066

Notes to the Reviewer

PR Checklist

  • CHANGELOG.md updated
  • Documentation added

@mattdurham
Copy link
Collaborator

Ideally we should replace secret values with a placeholder.

@mattdurham
Copy link
Collaborator

In the old agent one we used a custom yaml marshaller to redact the secrets, I feel we need to also redact the values here.

@clayton-cornell clayton-cornell added the type/docs Docs Squad label across all Grafana Labs repos label Nov 15, 2024
@clayton-cornell clayton-cornell requested a review from a team November 15, 2024 19:16
@dehaansa
Copy link
Contributor Author

Implemented a POC of redacting secrets in the AST & printer, but I need to consider how it affects the fmt command and other uses of printer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/docs Docs Squad label across all Grafana Labs repos
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants