-
Notifications
You must be signed in to change notification settings - Fork 178
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
Allow customers to annotate CloudCredential resource on update #3575
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Initialize the operatorcli in both the real code and the unit tests - Compare the actual annotations on the CloudCredentials to the wantAnnotations
allow existing cc annotations, more test cases
7b71ea5
to
fcca98c
Compare
/azp run ci,e2e |
Azure Pipelines successfully started running 2 pipeline(s). |
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.
Left 2 comments:-
- I believe a
Mutable
tag would be needed for the ExternalAPI.
Everything else seems good.
/azp run e2e |
Azure Pipelines successfully started running 1 pipeline(s). |
kimorris27
requested changes
May 24, 2024
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.
The logic LGTM, but I suggested some small changes.
/azp run ci,e2e |
Azure Pipelines successfully started running 2 pipeline(s). |
kimorris27
requested changes
May 31, 2024
rajdeepc2792
approved these changes
Jun 3, 2024
kimorris27
approved these changes
Jun 3, 2024
/azp run ci,e2e |
Azure Pipelines successfully started running 2 pipeline(s). |
hlipsig
approved these changes
Jun 4, 2024
12 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Which issue this PR addresses:
Fixes ARO-7348
What this PR does / why we need it:
Clusters with manual credentials mode need to be annotated in order to be upgraded: https://docs.openshift.com/container-platform/4.14/updating/preparing_for_updates/preparing-manual-creds-update.html#cco-manual-upgrade-annotation_preparing-manual-creds-update
This PR adds a new API field that the user can patch on update, which will then annotate the cluster itself with the version.
Requires #3563 as this will also require some validation to ensure that the user is passing in a version and not some other string.
Test plan for issue:
Is there any documentation that needs to be updated for this PR?
How do you know this will function as expected in production?