From 569d30440f29ce156174208366df75902a134bb3 Mon Sep 17 00:00:00 2001 From: Jon Huhn Date: Tue, 25 Jun 2024 16:51:03 +0000 Subject: [PATCH] [WIP] testing Azure cluster-autoscaler e2e tests --- ...uster-template-prow-aks-aso-cluster-autoscaler.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/cluster-autoscaler/cloudprovider/azure/test/templates/cluster-template-prow-aks-aso-cluster-autoscaler.yaml b/cluster-autoscaler/cloudprovider/azure/test/templates/cluster-template-prow-aks-aso-cluster-autoscaler.yaml index 0c1d712dc508..6af8662bb558 100644 --- a/cluster-autoscaler/cloudprovider/azure/test/templates/cluster-template-prow-aks-aso-cluster-autoscaler.yaml +++ b/cluster-autoscaler/cloudprovider/azure/test/templates/cluster-template-prow-aks-aso-cluster-autoscaler.yaml @@ -269,3 +269,13 @@ spec: roleDefinitionReference: # Contributor armId: /subscriptions/${AZURE_SUBSCRIPTION_ID}/providers/Microsoft.Authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c +--- +apiVersion: v1 +kind: Secret +metadata: + name: ${ASO_CREDENTIAL_SECRET_NAME} +stringData: + AZURE_SUBSCRIPTION_ID: ${AZURE_SUBSCRIPTION_ID} + AZURE_TENANT_ID: ${AZURE_TENANT_ID} + AZURE_CLIENT_ID: ${AZURE_CLIENT_ID_USER_ASSIGNED_IDENTITY} + AUTH_MODE: ${ASO_CREDENTIAL_SECRET_MODE:-workloadidentity}