yokawasa/Setup Kubernetes Tools
Setup Kubernetes tools: kubectl, kustomize, helm, kubeconform, conftest, yq, rancher, tilt, skaffold, kube-score
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| fail-fast | the action immediately fails when it fails to download (ie. due to a bad version) | no | true |
| arch-type | Optional. The processor architecture type of the tool binary to setup. The action will auto-detect the architecture ("amd64" or "arm64") and use it as appropriate at runtime. Specify the architecture type ("amd64" or "arm64") only if you need to force it. | no | — |
| setup-tools | List of tool name to setup. By default, the action download and setup all supported Kubernetes tools. By specifying "setup-tools" you can choose which tools the action setup. Supported separator is return in multi-line string. Supported tools are "kubectl", "kustomize", "helm", "kubeval", "kubeconform", "conftest", "yq", "rancher", "tilt", "skaffold", "kube-score" | no | "" |
| version-file | Optional. Path to a ".tool-versions" (asdf/mise) style file. For each supported tool that has an entry in the file, that version is used, unless the tool's own version input is explicitly set. Resolution order is: explicit tool input > version-file entry > built-in default. Each line is "<tool> <version>"; "#" comments, blank lines, and unsupported tool names are ignored. | no | "" |
| kubectl | kubectl version or 'latest' (default: 1.35.3) | no | — |
| kustomize | kustomize version or 'latest' (default: 5.8.1) | no | — |
| helm | helm version or 'latest' (default: 3.20.1) | no | — |
| kubeval | kubeval version or 'latest' (default: 0.16.1) | no | — |
| kubeconform | kubeconform version or 'latest' (default: 0.7.0) | no | — |
| conftest | conftest version or 'latest' (default: 0.67.1) | no | — |
| yq | yq version or 'latest' (default: 4.52.5) | no | — |
| rancher | rancher cli version or 'latest' (default: 2.13.3) | no | — |
| tilt | tilt version or 'latest' (default: 0.37.0) | no | — |
| skaffold | skaffold version or 'latest' (default: 2.18.1) | no | — |
| kube-score | kube-score version or 'latest' (default: 1.20.0) | no | — |
Outputs
| name | description |
|---|---|
| kubectl-path | kubectl command path if the action setup the tool, otherwise empty string |
| kustomize-path | kustomize command path if the action setup the tool, otherwise empty string |
| helm-path | helm command path if the action setup the tool, otherwise empty string |
| kubeval-path | kubeval command path if the action setup the tool, otherwise empty string |
| conftest-path | conftest command path if the action setup the tool, otherwise empty string |
| yq-path | yq command path if the action setup the tool, otherwise empty string |
| rancher-path | rancher cli command path if the action setup the tool, otherwise empty string |
| tilt-path | tilt command path if the action setup the tool, otherwise empty string |
| skaffold-path | skaffold command path if the action setup the tool, otherwise empty string |
| kube-score-path | kube-score command path if the action setup the tool, otherwise empty string |