Skip to content

Commit

Permalink
kubelogin
Browse files Browse the repository at this point in the history
  • Loading branch information
saliceti committed Jan 2, 2025
1 parent 01d5f92 commit d529c60
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions set-kubelogin-environment/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 == ''
Expand All @@ -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

0 comments on commit d529c60

Please sign in to comment.