-
Couldn't load subscription status.
- Fork 217
Migrate Bucket controller to runtime/secrets #1852
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
Migrate Bucket controller to runtime/secrets #1852
Conversation
410ee9f to
ebf1405
Compare
1de1e09 to
087d7e7
Compare
|
This PR applies the same TLS configuration updates that were implemented in #1855 and #1856. The Bucket controller now uses |
Replaces internal credential management with runtime/secrets package to standardize authentication, proxy configuration, and TLS handling across controllers. This migration eliminates code duplication by leveraging shared utilities and improves maintainability through consistent error handling patterns. The refactoring splits the large reconcileSource method into focused helper functions for better separation of concerns. Signed-off-by: cappyzawa <[email protected]>
Include namespace in secret error message for better debugging context. The secret name was already present in the error, but namespace information was missing, making it harder to identify which secret in which namespace was not found. Signed-off-by: cappyzawa <[email protected]>
Signed-off-by: cappyzawa <[email protected]>
51cb0e0 to
9463bcf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🚀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks @cappyzawa 🥇
ref: fluxcd/flux2#5433