Skip to content

Fixed bug where reconcile loop could occur when user provides an invalid (non-RFC1123) secret name #186

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

Merged
merged 2 commits into from
May 27, 2025

Conversation

omris94
Copy link
Contributor

@omris94 omris94 commented May 27, 2025

Description

Validate the provided secret name before trying to create it. If it is invalid, record an event and a warning log and finish reconciliation.

Testing

Describe how this can be tested by reviewers. Be specific about anything not tested and reasons why. If this library has unit and/or integration testing, tests should be added for new functionality and existing tests should complete without errors.

Please include any manual steps for testing end-to-end or functionality not covered by unit/integration tests.

Also include details of the environment this PR was developed in (language/platform/browser version).

  • This change adds test coverage for new/changed/fixed functionality

Checklist

  • I have added documentation for new/changed functionality in this PR and in github.com/otterize/docs

@omris94 omris94 requested a review from zohar7ch May 27, 2025 11:28
@omris94 omris94 enabled auto-merge (squash) May 27, 2025 11:30
@omris94 omris94 merged commit 9b8d111 into main May 27, 2025
5 checks passed
@omris94 omris94 deleted the omris/bugfix/dont-error-on-invalid-secret-name branch May 27, 2025 11:39
@github-actions github-actions bot locked and limited conversation to collaborators May 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants