Skip to content

chore: updated script to assign AKS cluster role to user#462

Merged
Prajwal-Microsoft merged 1 commit intodevfrom
psl-avm-r1
Oct 27, 2025
Merged

chore: updated script to assign AKS cluster role to user#462
Prajwal-Microsoft merged 1 commit intodevfrom
psl-avm-r1

Conversation

@Rafi-Microsoft
Copy link
Copy Markdown
Contributor

This pull request enhances the AKS (Azure Kubernetes Service) deployment script by ensuring that the currently signed-in user has the necessary RBAC Cluster Admin role before connecting to the cluster. This helps prevent permission issues during deployment.

AKS role assignment improvements:

  • Added a check to see if the current user already has the "Azure Kubernetes Service RBAC Cluster Admin" role on the target AKS resource, and assigns it if missing. This ensures the user has appropriate permissions before connecting to the cluster.

Other changes:

  • Minor formatting update at the top of the resourcedeployment.ps1 script (no functional impact).

Does this introduce a breaking change?

  • Yes
  • No

Golden Path Validation

  • I have tested the primary workflows (the "golden path") to ensure they function correctly without errors.

Deployment Validation

  • I have validated the deployment process successfully and all services are running as expected with this change.

What to Check

Verify that the following are valid

  • ...

Other Information

@Prajwal-Microsoft Prajwal-Microsoft merged commit b0826db into dev Oct 27, 2025
5 checks passed
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Nov 3, 2025

🎉 This PR is included in version 1.2.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@Priyanka-Microsoft Priyanka-Microsoft deleted the psl-avm-r1 branch December 25, 2025 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants