actions-marketplace-validations/KUBECONFIG for Service Account (SA)
Generates Kubernetes kubeconfig file for service account
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Oct 21, 2023
- License
- Apache 2.0
Pinned Snippet
uses: actions-marketplace-validations/vbem_kubeconfig4sa@f51fec73548084e649838af84412b9f402410e99 # no releases — HEAD as of 2026-07-10tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| server | K8s cluster API server URL | yes | — |
| ca-base64 | K8s cluster Certificate Authority data base64 | yes | — |
| cluster | K8s cluster name in kubeconfig file | no | "" |
| token | Service Account bearer token | yes | — |
| sa | Service Account name in kubeconfig file | no | sa |
| context | Context name in kubeconfig file | no | "" |
| namespace | Context namespace in kubeconfig file | no | "" |
| current | Set as current-context in kubeconfig file | no | true |
| kubeconfig | Path of kubeconfig file | no | "" |
| export | Set the KUBECONFIG environment variable available to subsequent steps | no | true |
| version | Show client and server version information for the current context | no | true |
Outputs
| name | description |
|---|---|
| context | Context name in kubeconfig file |
| kubeconfig | Path of kubeconfig file |