A GitHub Action that authenticates against an AKS cluster
- name: AKS Login
uses: wemogy/aks-login-action@1.2.1
with:
name: my-aks-cluster
resource-group: my-aks-resource-group
client-id: ${{ secrets.AZURE_APP_ID }}
client-secret: ${{ secrets.AZURE_PASSWORD }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
Input | Description |
---|---|
name |
Required The name of the AKS cluster |
resource-group |
Required The Azure Resource Group of the AKS cluster |
client-id |
Required The Azure Service Pricipal Client ID |
client-secret |
Required The Azure Service Pricipal Secret |
subscription-id |
Required The Azure Subscription ID of the cluster |
tenant-id |
Required The Azure Service Pricipal Tenant ID |
admin |
Use the admin login (for AAD enabled clusters) |
None.