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

Fixing example in remote.kubernetes.secret.md to include nonsensitive() #5704

Merged
merged 2 commits into from
Nov 3, 2023
Merged

Fixing example in remote.kubernetes.secret.md to include nonsensitive() #5704

merged 2 commits into from
Nov 3, 2023

Conversation

nicolai-hornung-bl
Copy link
Contributor

PR Description

The prometheus.remote_write > basic_auth > username is a string type and the agent will non start if the username is provided directly as a secret out of remote.kubernetes.secret as done in the example. nonsensitive() needs to be added to it for the config to be valid.

Which issue(s) this PR fixes

Notes to the Reviewer

PR Checklist

  • Documentation added

The prometheus.remote_write basic_auth username is a string type and the agent will non start if the username is provided directly as a secret out of remote.kubernetes.secret.
@CLAassistant
Copy link

CLAassistant commented Nov 3, 2023

CLA assistant check
All committers have signed the CLA.

@clayton-cornell clayton-cornell added type/docs Docs Squad label across all Grafana Labs repos backport release-v0.37 labels Nov 3, 2023
Copy link
Contributor

@clayton-cornell clayton-cornell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Thank you for your input here!

@clayton-cornell clayton-cornell merged commit ffccd0a into grafana:main Nov 3, 2023
12 checks passed
grafanabot pushed a commit that referenced this pull request Nov 3, 2023
…() (#5704)

The prometheus.remote_write basic_auth username is a string type and the agent will non start if the username is provided directly as a secret out of remote.kubernetes.secret.

Co-authored-by: Clayton Cornell <[email protected]>
(cherry picked from commit ffccd0a)
clayton-cornell pushed a commit that referenced this pull request Nov 8, 2023
…() (#5704) (#5711)

The prometheus.remote_write basic_auth username is a string type and the agent will non start if the username is provided directly as a secret out of remote.kubernetes.secret.

Co-authored-by: Clayton Cornell <[email protected]>
(cherry picked from commit ffccd0a)

Co-authored-by: Nicolai Hornung <[email protected]>
@github-actions github-actions bot added the frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed. label Feb 21, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport release-v0.37 frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed. 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