Repository navigation
[AKS] az aks create: Add --disable-oidc-issuer to allow disabling OIDC issuer on creation - #10625
Open
jiashun0011 wants to merge 1 commit into
Open
jiashun0011 wants to merge 1 commit into
jiashun0011 wants to merge 1 commit into
Conversation
…C issuer on creation
Contributor
|
Thank you for your contribution jiashun0011! We will review the pull request and get back to you soon. |
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are identified for the new AKS creation option to opt out of the default OIDC issuer.
No open issues 🎉
What changed in this PR
Adds a preview --disable-oidc-issuer option to az aks create in the AKS preview extension, allowing users to opt out of the Kubernetes 1.34+ default.
Changes:
- Registers the flag and sends an explicitly disabled OIDC issuer profile during cluster creation.
- Rejects combinations with
--enable-oidc-issueror--enable-workload-identity. - Adds unit tests, command help, and a pending release note.
| File | Description |
|---|---|
| src/aks-preview/HISTORY.rst | Documents the new creation option under Pending. |
| src/aks-preview/azext_aks_preview/tests/latest/test_managed_cluster_decorator.py | Tests explicit disabling and conflicting options. |
| src/aks-preview/azext_aks_preview/managed_cluster_decorator.py | Builds the disabled profile and validates conflicts. |
| src/aks-preview/azext_aks_preview/custom.py | Adds the flag to the create command signature. |
| src/aks-preview/azext_aks_preview/_params.py | Registers the preview Boolean flag. |
| src/aks-preview/azext_aks_preview/_help.py | Explains the flag, default behavior, and conflicts. |
Review effort: Balanced
|
Hi jiashun0011, |
FumingZhang
approved these changes
Nov 25, 2026
Collaborator
|
/azp run |
|
Azure Pipelines: Successfully started running 2 pipeline(s). |
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.
🤖 PR Validation —⚠️ Review suggested
Related command
az aks create --disable-oidc-issuerBackground
OIDC issuer is enabled by default for new clusters on Kubernetes 1.34+. Customers can opt out through ARM by setting
oidcIssuerProfile.enabled=false, but the CLI has no way to send that.What changed
--disable-oidc-issuerflag toaz aks createthat sends an explicitly disabled OIDC issuer profile.--disable-oidc-issuercombined with--enable-oidc-issueror--enable-workload-identity.General Guidelines
azdev style <YOUR_EXT>locally? (pip install azdevrequired)python scripts/ci/test_index.py -qlocally? (pip install azdevrequired)