-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Modified the cluster registration to use MSI #28612
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
Modified the cluster registration to use MSI #28612
Conversation
Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status. |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 3 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.
Pull Request Overview
This PR modifies the Azure Stack HCI cluster registration process to use Managed Service Identity (MSI) instead of Azure Active Directory (AAD) App based registration for new OS versions. The changes also modify the unregistration flow to preserve Arc machines when unregistration is triggered.
Key changes include:
- Implementation of MSI-based authentication flow for Arc-enabled clusters
- Detection logic to determine MSI support capability on cluster nodes
- Preservation of Arc agents during unregistration in MSI flow
- Updated API versions and added configuration for stable Arc agent versions
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
File | Description |
---|---|
src/StackHCI/StackHCI/ChangeLog.md | Added changelog entry documenting the MSI registration change |
src/StackHCI/StackHCI.Autorest/custom/stackhci.ps1 | Major implementation of MSI flow including new functions, API version updates, and flow control logic |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
Description
Modified the Cluster Registration to use Managed Service Identity instead of AAD App based registration. Modified the UnRegistration flow as well to retain the ARC machines even when the UnRegistration is triggered.
Mandatory Checklist
Please choose the target release of Azure PowerShell. (⚠️ Target release is a different concept from API readiness. Please click below links for details.)
Check this box to confirm: I have read the Submitting Changes section of
CONTRIBUTING.md
and reviewed the following information:ChangeLog.md
file(s) appropriatelysrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
.## Upcoming Release
header in the past tense.ChangeLog.md
if no new release is required, such as fixing test case only.