File tree Expand file tree Collapse file tree 3 files changed +19
-3
lines changed
templates/azure-cluster-identity
test/e2e/data/infrastructure-azure/v1beta1 Expand file tree Collapse file tree 3 files changed +19
-3
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ apiVersion : infrastructure.cluster.x-k8s.io/v1beta1
3+ kind : AzureClusterIdentity
4+ metadata :
5+ name : " ${CLUSTER_IDENTITY_NAME}"
6+ labels :
7+ clusterctl.cluster.x-k8s.io/move-hierarchy : " true"
8+ spec :
9+ type : ServicePrincipal
10+ allowedNamespaces : {}
11+ tenantID : " ${AZURE_TENANT_ID}"
12+ clientID : " ${AZURE_CLIENT_ID}"
13+ clientSecret : {"name":"${AZURE_CLUSTER_IDENTITY_SECRET_NAME}","namespace":"${AZURE_CLUSTER_IDENTITY_SECRET_NAMESPACE}"}
Original file line number Diff line number Diff line change @@ -268,9 +268,12 @@ metadata:
268268 name : ${CLUSTER_IDENTITY_NAME}
269269spec :
270270 allowedNamespaces : {}
271- clientID : ${AZURE_CLIENT_ID_USER_ASSIGNED_IDENTITY}
271+ clientID : ${AZURE_CLIENT_ID}
272+ clientSecret :
273+ name : ${AZURE_CLUSTER_IDENTITY_SECRET_NAME}
274+ namespace : ${AZURE_CLUSTER_IDENTITY_SECRET_NAMESPACE}
272275 tenantID : ${AZURE_TENANT_ID}
273- type : WorkloadIdentity
276+ type : ServicePrincipal
274277---
275278apiVersion : infrastructure.cluster.x-k8s.io/v1beta1
276279kind : AzureMachineTemplate
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ kind: Kustomization
33resources :
44- ../bases/cluster-with-kcp.yaml
55- ../bases/md.yaml
6- - ../../../../../../templates/azure-cluster-identity/azure-cluster-identity.yaml
6+ - ../../../../../../templates/azure-cluster-identity/azure-cluster-identity-sp .yaml
77- ../../../../../../templates/addons/cluster-api-helm/calico.yaml
88- ../../../../../../templates/addons/cluster-api-helm/azuredisk-csi-driver.yaml
99- ../../../../../../templates/addons/cluster-api-helm/cloud-provider-azure.yaml
You can’t perform that action at this time.
0 commit comments