Repository navigation
fix(e2e): enable managed AAD for test clusters on main - #10190
Merged
Sylvain Boily (djsly) merged 1 commit intoNov 25, 2026
Merged
Conversation
Backport only the test-cluster AAD configuration from #10133. Enable Kubernetes RBAC and managed Entra ID integration to address CloudGov_KubernAuthN_AAD denials. Leave the default VHD image selector unchanged. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 1b5a8171-5163-48fa-810e-1054bb3eada0
Abigail Liang (abigailliang-aks-sig-node)
requested review from
a team
as code owners
November 25, 2026 20:02
Contributor
Windows Unit Test Results 3 files 21 suites 59s ⏱️ Results for commit 8d3b2c8. |
Contributor
Contributor
Contributor
|
Sylvain Boily (djsly)
approved these changes
Nov 25, 2026
Sylvain Boily (djsly)
deleted the
abigailliang/backport-main-e2e-aad-10133
branch
November 25, 2026 20:25
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
Live E2E validation is still needed to confirm managed Entra ID satisfies subscription policy and preserves admin credential retrieval and Kubernetes access.
No open issues 🎉
What changed in this PR
Partially backports #10133 to address the managed Microsoft Entra ID policy denial when creating main-branch E2E test clusters.
Changes:
- Enables Kubernetes RBAC and managed Microsoft Entra ID integration in the shared cluster model.
- Leaves Azure RBAC authorization, VHD image selection, and customer provisioning unchanged.
Live E2E validation remains pending to confirm cluster creation and subsequent access.
| File | Description |
|---|---|
e2e/scenario/aks_model.go |
Sets EnableRBAC and AADProfile.Managed to true in getBaseClusterModel. |
Review effort: Balanced
This file contains hidden or 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
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.
What this PR does / why we need it:
Partially backports #10133: enable Kubernetes RBAC and managed Microsoft Entra ID integration in
getBaseClusterModel.The main-branch AgentBaker E2E run 193218405 fails to create its test AKS cluster with HTTP 403 under
CloudGov_KubernAuthN_AAD(AAD should be enabled in Kubernetes Service). This change addsEnableRBAC: trueandAADProfile.Managed: trueto the shared test-cluster creation model. It does not enable Azure RBAC for Kubernetes Authorization.Only the AAD cluster-model change is included. The default VHD image selector remains unchanged; missing test VHDs are a separate issue. No customer provisioning or VHD build feature flags are changed.
Which issue(s) this PR fixes:
Addresses the AAD policy denial in the run above; source PR: #10133.
Validation:
cd e2e && go test ./scenariopassed.gofmtandgit diff --checkpassed.