Repository navigation
Sovereign Cloud - RBAC and AKS Proxy Access Enhancements - #516
Merged
Jan Egil Ring (janegilring) merged 6 commits intoSep 21, 2026
Merged
Jan Egil Ring (janegilring) merged 6 commits into
Jan Egil Ring (janegilring) merged 6 commits into
Conversation
…signment Signed-off-by: Jan Egil Ring <janegilring@microsoft.com>
…s and access requirements Signed-off-by: Jan Egil Ring <janegilring@microsoft.com>
… orchestration Signed-off-by: Jan Egil Ring <janegilring@microsoft.com>
Signed-off-by: Jan Egil Ring <janegilring@microsoft.com>
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.
This pull request introduces significant improvements to the LocalBox infrastructure documentation and automation scripts, with a primary focus on clarifying and enforcing Azure RBAC requirements for AKS proxy access, as well as adding tooling and documentation to measure participant VM capacity. The changes ensure that the correct Azure Arc role assignments are made for Kubernetes cluster proxy access, provide detailed guidance on permissions, and add a new script for testing VM deployment capacity. Additionally, the health check and test scripts are updated for better usability and robustness.
RBAC and AKS Proxy Access Enhancements
Microsoft.Authorization/roleAssignments/readand potentially/writepermissions at the AKS connected-cluster scope for proxy access, and that Contributor role alone is insufficient. The script will not attempt privilege escalation.prepare-localbox.ps1script now grants the Azure Arc Enabled Kubernetes Cluster User Role to the specified Entra admin group at the cluster scope, reusing existing assignments if present, and never broadening or deleting existing conditional assignments. Authorization failures are now explicit and halt preparation. [1] [2] [3]-WhatIfmode are clarified: it installs missing CLI extensions but does not assign roles or validate role-assignment permissions, only reporting planned changes.Participant VM Capacity Testing
test-localbox-capacity.ps1, a script for testing participant VM deployment capacity. This tool provisions VMs in batches, measures resource usage, and records results for event planning, without altering shared infrastructure or performing automatic rollback.Health Checks and Test Script Improvements
test-sovereign-cloud.ps1to default to downloading test scripts, use the inventory kubeconfig when available, and allow explicit kubeconfig overrides. Improved messaging and error handling for Kubernetes queries. [1] [2]AKS Resource Documentation Updates
These changes collectively improve the reliability, clarity, and operational safety of LocalBox AKS preparation and participant capacity planning.