-
Notifications
You must be signed in to change notification settings - Fork 20
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
Enhance MirrorPeer and S3 Secret Handling and other bug fixes #239
Enhance MirrorPeer and S3 Secret Handling and other bug fixes #239
Conversation
vbnrh
commented
Nov 18, 2024
- Updated MirrorPeerReconciler to accurately handle storage client references and added deleteMirrorPeer conditional to account for provider mode.
- Introduced annotation support in ObjectBucketClaim for dynamic setting based on MirrorPeer type.
- Added new constants and enums for OBC types and annotations to enhance readability and standardize key usage.
- Enhanced S3 secret synchronization logic to differentiate between client and cluster references, fetching relevant storage cluster info per context.
- Refined ConfigMap client information updates with new GetKey helper and corrected test cases for compatibility.
- Implemented FetchMirrorPeerByName for efficient MirrorPeer retrieval by name.
- Modified utility methods for secret and config map creation to handle namespace variations, ensuring correct retrieval in provider-client contexts.
- Refactored validation and utility methods for enhanced error handling and consistent namespace management.
a66ce7c
to
3b6c8be
Compare
- Updated MirrorPeerReconciler to accurately handle storage client references and added deleteMirrorPeer conditional to account for provider mode. - Introduced annotation support in ObjectBucketClaim for dynamic setting based on MirrorPeer type. - Added new constants and enums for OBC types and annotations to enhance readability and standardize key usage. - Enhanced S3 secret synchronization logic to differentiate between client and cluster references, fetching relevant storage cluster info per context. - Refined ConfigMap client information updates with new GetKey helper and corrected test cases for compatibility. - Implemented FetchMirrorPeerByName for efficient MirrorPeer retrieval by name. - Modified utility methods for secret and config map creation to handle namespace variations, ensuring correct retrieval in provider-client contexts. - Refactored validation and utility methods for enhanced error handling and consistent namespace management. Signed-off-by: vbadrina <[email protected]>
3b6c8be
to
a3f1f26
Compare
Tested the build on the cluster and everything looks good,
/lgtm |
/unhold |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: umangachapagain, vbnrh The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
17353b7
into
red-hat-storage:main