Skip to content

Commit 789f142

Browse files
nandajavarmaroboquat
authored andcommitted
[installer-tests] fix azure authentication
1 parent 774a5e2 commit 789f142

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

install/tests/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ gcp-kubeconfig:
5252

5353
## azure-kubeconfig: Get the kubeconfig configuration for Azure AKS
5454
azure-kubeconfig:
55+
az login --service-principal -u $$ARM_CLIENT_ID -p $$ARM_CLIENT_SECRET --tenant $$ARM_TENANT_ID
5556
export KUBECONFIG=${KUBECONFIG} && \
5657
export resource=$$(echo "$$TF_VAR_TEST_ID" | sed "s/[\\W\\-]//g") && \
5758
az aks get-credentials --name test-cluster-$$resource --resource-group sh-test-$$resource --file ${KUBECONFIG} || echo "No cluster present"

0 commit comments

Comments
 (0)