wemogy / aks-login-action

A GitHub Action that logs in to an AKS cluster

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wemogy AKS Login (GitHub Action)

A GitHub Action that authenticates against an AKS cluster

Usage

- 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 }}

Inputs

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)

Outputs

None.

About

A GitHub Action that logs in to an AKS cluster

License:MIT License