telia-actions/Kubernetes Set Context

Set the context of a target Kubernetes cluster and export the kubeconfig which is used by subsequent actions

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
cluster-typeAcceptable values: generic or arcyesgeneric
methodAcceptable values: kubeconfig or service-account or service-principalyeskubeconfig
kubeconfigContents of kubeconfig fileno
contextIf your kubeconfig has multiple contexts, use this field to use a specific context, otherwise the default one would be chosenno
k8s-urlCluster Urlno
k8s-secretService account secret (run kubectl get serviceaccounts <service-account-name> -o yaml and copy the service-account-secret-name)no
tokenToken extracted from the secret of service account (should be base 64 decoded)no
resource-groupAzure resource group nameno
cluster-nameAzure connected cluster nameno

no outputs