vbem/KUBECONFIG for Service Account (SA)
Generates Kubernetes kubeconfig file for service account
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
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 |