Skip to content

Commit

Permalink
UserAssignedMSI for custom-builds template
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Francis <[email protected]>
  • Loading branch information
jackfrancis committed May 23, 2024
1 parent dd4c7ab commit bc7ae33
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion templates/test/dev/cluster-template-custom-builds.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions templates/test/dev/custom-builds/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ patches:
- path: ../../../test/ci/patches/windows-machine-deployment-replicas.yaml
- path: ../../../test/ci/patches/metrics-server-enabled-cluster.yaml
- path: ../../../test/ci/patches/controller-manager-featuregates.yaml
- path: patches/azure-cluster-identity-user-assigned.yaml
configMapGenerator:
- behavior: merge
files:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
kind: AzureClusterIdentity
metadata:
name: "${CLUSTER_IDENTITY_NAME}"
labels:
clusterctl.cluster.x-k8s.io/move-hierarchy: "true"
spec:
type: UserAssignedMSI
allowedNamespaces: {}
tenantID: "${AZURE_TENANT_ID}"
clientID: "${AZURE_CLIENT_ID_USER_ASSIGNED_IDENTITY}"

0 comments on commit bc7ae33

Please sign in to comment.