Sitelet https://github.com/kubernetes/kops/pull/18533
Skip to content

azure: Grant control-plane VMSS Contributor instead of Owner - #18533

Merged
kubernetes-prow[bot] merged 1 commit into
kubernetes:masterfrom
hakman:azure-contributor-control-plane
Jul 4, 2026
Merged

kubernetes-prow[bot] merged 1 commit into
kubernetes:masterfrom
hakman:azure-contributor-control-plane

Conversation

@hakman

@hakman hakman commented Jul 4, 2026

Copy link
Copy Markdown
Member

The built-in Owner role includes Microsoft.Authorization/roleAssignments/write, a privilege-escalation path reachable by any pod via the instance metadata endpoint. No cluster component uses Microsoft.Authorization; Contributor covers everything the control plane needs.

Existing clusters keep the old Owner role assignment until it is removed manually or the cluster is deleted; the terraform target prunes it on apply.

/cc @rifelpet @ameukam

The built-in Owner role includes Microsoft.Authorization/roleAssignments/write,
a privilege-escalation path reachable by any pod via the instance metadata
endpoint. No cluster component uses Microsoft.Authorization; Contributor
covers everything the control plane needs.

Existing clusters keep the old Owner role assignment until it is removed
manually or the cluster is deleted; the terraform target prunes it on apply.
@kubernetes-prow
kubernetes-prow Bot requested review from ameukam and rifelpet July 4, 2026 07:23
@kubernetes-prow kubernetes-prow Bot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. area/documentation area/provider/azure Issues or PRs related to azure provider labels Jul 4, 2026
@hakman

hakman commented Jul 4, 2026

Copy link
Copy Markdown
Member Author

/test pull-kops-e2e-azure-cni-cilium

@hakman

hakman commented Jul 4, 2026

Copy link
Copy Markdown
Member Author

/approve

@kubernetes-prow kubernetes-prow Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 4, 2026
@kubernetes-prow kubernetes-prow Bot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 4, 2026
@kubernetes-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hakman, rifelpet

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubernetes-prow
kubernetes-prow Bot merged commit eaa5519 into kubernetes:master Jul 4, 2026
28 checks passed
kubernetes-prow Bot added a commit that referenced this pull request Jul 4, 2026
…-upstream-release-1.36

Automated cherry pick of #18533: azure: Grant control-plane VMSS Contributor instead of Owner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. area/documentation area/provider/azure Issues or PRs related to azure provider cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants