-
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
Populate ClientID and ObjectID of cluster and platform workload identities #3860
Merged
tsatam
merged 14 commits into
master
from
tsatam/ARO-8609-populate-clientid-objectid-of-cluster-identities
Oct 3, 2024
Merged
Populate ClientID and ObjectID of cluster and platform workload identities #3860
tsatam
merged 14 commits into
master
from
tsatam/ARO-8609-populate-clientid-objectid-of-cluster-identities
Oct 3, 2024
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
00eb7a3
to
5036d2e
Compare
67dad10
to
950f87a
Compare
Please rebase pull request. |
950f87a
to
06701b2
Compare
/azp run ci,e2e |
Azure Pipelines successfully started running 2 pipeline(s). |
/azp run ci,e2e |
Azure Pipelines successfully started running 2 pipeline(s). |
/azp run ci,e2e |
Azure Pipelines successfully started running 2 pipeline(s). |
77281c7
to
a612338
Compare
/azp run ci,e2e |
Azure Pipelines successfully started running 2 pipeline(s). |
a612338
to
7744d31
Compare
/azp run ci,e2e |
Azure Pipelines successfully started running 2 pipeline(s). |
lranjbar
reviewed
Oct 1, 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.
Small nit, I think it will be good to add a little bit more here. It's not blocking because the code is already covered by the existing test.
cadenmarchese
previously approved these changes
Oct 2, 2024
rajdeepc2792
reviewed
Oct 2, 2024
/azp run ci,e2e |
Azure Pipelines successfully started running 2 pipeline(s). |
2565389
to
0001da4
Compare
Adds a comment and unit tests indicating its usage
0001da4
to
1ece0d9
Compare
/azp run ci,e2e |
Azure Pipelines successfully started running 2 pipeline(s). |
cadenmarchese
approved these changes
Oct 3, 2024
slawande2
pushed a commit
that referenced
this pull request
Oct 7, 2024
…ities (#3860) * Add new clusterIdentityIDs manager function * Add clusterIdentityIDs step to install for WI clusters * Add new client wrapper for armmsi UserAssignedIdentitiesClient * Add userAssignedIdentities client to cluster manager * Add new platformWorkloadIdentityIDs manager function * Add platformWorkloadIdentityIDs step to install for WI clusters * Do not allow clusterIdentityIDs to be called for a CSP cluster * Perform all clientID/objectID enrichment before dynamic validation * Return UserAssignedIdentitiesClient implementation instead of interface in constructor * Use cluster MSI credentials for userAssignedIdentities client This requires moving client instantiation from the cluster manager constructor to the initializeClusterMsiClients install step. * Extract ExplicitIdentity access/handling in clustermsi to common function * Preserve passed-in casing on cluster identity resource IDs * Actually use extracted identity from getSingleExpectedIdentity * Clarify purpose of getSingleExplicitIdentity function Adds a comment and unit tests indicating its usage
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-8609
What this PR does / why we need it:
Updates the cluster install process for workload identity clusters:
Identity.UserAssignedIdentities[${CLUSTER_MSI_RESOURCE_ID}]
Properties.PlatformWorkloadIdentityProfile.PlatformWorkloadIdentities[*]
Test plan for issue:
Is there any documentation that needs to be updated for this PR?
No
How do you know this will function as expected in production?
E2E tests will be added as part of the wider MIWI effort, as well as extensive manual functional testing, before this feature is available to users in production.