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 GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| cluster-type | Acceptable values: generic or arc | yes | generic |
| method | Acceptable values: kubeconfig or service-account or service-principal | yes | kubeconfig |
| kubeconfig | Contents of kubeconfig file | no | — |
| context | If your kubeconfig has multiple contexts, use this field to use a specific context, otherwise the default one would be chosen | no | — |
| k8s-url | Cluster Url | no | — |
| k8s-secret | Service account secret (run kubectl get serviceaccounts <service-account-name> -o yaml and copy the service-account-secret-name) | no | — |
| token | Token extracted from the secret of service account (should be base 64 decoded) | no | — |
| resource-group | Azure resource group name | no | — |
| cluster-name | Azure connected cluster name | no | — |
Outputs
no outputs