From d529c60215ffba3c46596a796948f8083b4de771 Mon Sep 17 00:00:00 2001 From: Colin Saliceti Date: Thu, 2 Jan 2025 10:41:04 +0000 Subject: [PATCH] kubelogin --- set-kubelogin-environment/action.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/set-kubelogin-environment/action.yaml b/set-kubelogin-environment/action.yaml index 7b51b73..d15cedb 100644 --- a/set-kubelogin-environment/action.yaml +++ b/set-kubelogin-environment/action.yaml @@ -41,6 +41,7 @@ runs: run: | echo "AAD_SERVICE_PRINCIPAL_CLIENT_ID=$ARM_CLIENT_ID" >> $GITHUB_ENV echo "AAD_SERVICE_PRINCIPAL_CLIENT_SECRET=$ARM_CLIENT_SECRET" >> $GITHUB_ENV + echo "AAD_LOGIN_METHOD=spn" >> $GITHUB_ENV - name: Set kubelogin SPN variables - Authentication with OIDC if: inputs.azure-credentials == '' @@ -49,3 +50,4 @@ runs: echo "AZURE_CLIENT_ID=${{ inputs.azure-client-id }}" >> $GITHUB_ENV echo "AZURE_TENANT_ID=${{ inputs.azure-tenant-id }}" >> $GITHUB_ENV echo "AZURE_AUTHORITY_HOST=https://login.microsoftonline.com/" >> $GITHUB_ENV + echo "AAD_LOGIN_METHOD=workloadidentity" >> $GITHUB_ENV