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

Add more validation when updating api_token #4918

Merged
merged 2 commits into from
Aug 23, 2024

Conversation

mderynck
Copy link
Contributor

@mderynck mderynck commented Aug 23, 2024

What this PR does

Skip updating stored api_token for Grafana if it does not look like one. Note: Exact format is not checked (prefix) since there are some differences between versions for what API tokens might look like and this should tolerate those differences.

Which issue(s) this PR closes

Related to [issue link here]

Checklist

  • Unit, integration, and e2e (if applicable) tests updated
  • Documentation added (or pr:no public docs PR label added if not required)
  • Added the relevant release notes label (see labels prefixed w/ release:). These labels dictate how your PR will
    show up in the autogenerated release notes.

@mderynck mderynck added pr:no public docs Added to a PR that does not require public documentation updates release:ignore PR will not be added to release notes labels Aug 23, 2024
@mderynck mderynck requested a review from a team as a code owner August 23, 2024 18:06
@mderynck mderynck added this pull request to the merge queue Aug 23, 2024
Merged via the queue into dev with commit a577030 Aug 23, 2024
30 checks passed
@mderynck mderynck deleted the mderynck/gcom-skip-token-update-if-invalid branch August 23, 2024 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr:no public docs Added to a PR that does not require public documentation updates release:ignore PR will not be added to release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants