All Projects → yokawasa → action-setup-kube-tools

yokawasa / action-setup-kube-tools

Licence: MIT license
Github Action that setup Kubernetes tools (kubectl, kustomize, helm, kubeconform, conftest, yq, rancher, tilt, skaffold) very fast and cache them on the runner. Please [✩Star] if you're using it!

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to action-setup-kube-tools

multi-stage-react-app-example
Repo for blog post - "A cleaner multi-stage continuous deployment on Kubernetes of a Create React App with kustomize, helm and skaffold"
Stars: ✭ 19 (-57.78%)
Mutual labels:  helm, skaffold, kustomize
homelab
My self-hosting infrastructure, fully automated from empty disk to operating services
Stars: ✭ 4,451 (+9791.11%)
Mutual labels:  helm, kustomize
big-bang
Big Bang is a declarative, continuous delivery tool for core DoD hardened and approved packages into a Kubernetes cluster.
Stars: ✭ 55 (+22.22%)
Mutual labels:  helm, kustomize
Flux
Successor: https://github.com/fluxcd/flux2 — The GitOps Kubernetes operator
Stars: ✭ 6,688 (+14762.22%)
Mutual labels:  helm, kustomize
helm-gh-pages
A GitHub Action for publishing Helm charts to Github Pages
Stars: ✭ 60 (+33.33%)
Mutual labels:  helm, github-actions
khelm
A Helm chart templating CLI, kpt function and kustomize plugin
Stars: ✭ 46 (+2.22%)
Mutual labels:  helm, kustomize
Geodesic
🚀 Geodesic is a DevOps Linux Distro. We use it as a cloud automation shell. It's the fastest way to get up and running with a rock solid Open Source toolchain. ★ this repo! https://slack.cloudposse.com/
Stars: ✭ 629 (+1297.78%)
Mutual labels:  helm, kubectl
chart-testing-action
A GitHub Action to lint and test Helm charts
Stars: ✭ 139 (+208.89%)
Mutual labels:  helm, github-actions
Binenv
One binary to rule them all. Manage all those pesky binaries (kubectl, helm, terraform, ...) easily.
Stars: ✭ 148 (+228.89%)
Mutual labels:  helm, kubectl
K8s1.13
微服务容器化持续交付总体流程:开发代码提交到Gitlab;Rahcher设置代码库为Gitlab;Rahcher流水线配置编译源码;Rahcher流水线Build Docker镜像;Rancher流水线Push Docker镜像到私有镜像库Harbor;Rancher流水线根据k8s yaml部署文件部署容器。
Stars: ✭ 166 (+268.89%)
Mutual labels:  helm, rancher
monokle
🧐 Monokle streamlines the process of creating, analyzing, and deploying Kubernetes configurations by providing a unified visual tool for authoring YAML manifests, validating policies, and managing live clusters.
Stars: ✭ 795 (+1666.67%)
Mutual labels:  helm, kustomize
examples
Examples to demonstrate how to use PipeCD
Stars: ✭ 21 (-53.33%)
Mutual labels:  helm, kustomize
tondra
Continuous Development on Kubernetes environments with Skaffold
Stars: ✭ 105 (+133.33%)
Mutual labels:  helm, skaffold
vcluster
vcluster - Create fully functional virtual Kubernetes clusters - Each vcluster runs inside a namespace of the underlying k8s cluster. It's cheaper than creating separate full-blown clusters and it offers better multi-tenancy and isolation than regular namespaces.
Stars: ✭ 1,360 (+2922.22%)
Mutual labels:  helm, kubectl
Book k8sInfra
< 컨테이너 인프라 환경 구축을 위한 쿠버네티스/도커 >
Stars: ✭ 176 (+291.11%)
Mutual labels:  helm, kustomize
Kubedog
Library to watch and follow kubernetes resources in CI/CD deploy pipelines
Stars: ✭ 326 (+624.44%)
Mutual labels:  helm, kubectl
kubehelper
KubeHelper - simplifies many daily Kubernetes cluster tasks through a web interface. Search, analysis, run commands, cron jobs, reports, filters, git synchronization and many more.
Stars: ✭ 200 (+344.44%)
Mutual labels:  helm, kubectl
kube-lineage
A CLI tool to display all dependencies or dependents of an object in a Kubernetes cluster.
Stars: ✭ 238 (+428.89%)
Mutual labels:  helm, kubectl
Helm Docker
☸️ helm, gcloud, kubectl, jq
Stars: ✭ 41 (-8.89%)
Mutual labels:  helm, kubectl
Helm Kubectl
Docker Hub image with helm and kubectl on top of alpine linux with bash
Stars: ✭ 233 (+417.78%)
Mutual labels:  helm, kubectl

action-setup-kube-tools status

action-setup-kube-tools

A GitHub Action that setup Kubernetes tools (kubectl, kustomize, helm, kubeconform, conftest, yq, rancher, tilt, skaffold, kube-score) and cache them on the runner. It is like a typescript version of stefanprodan/kube-tools with no command input param, but as compared with it, it's very fast as it installs the tools asynchronously.

Usage

Inputs

Parameter Required Default Value Description
fail-fast false true the action immediately fails when it fails to download (ie. due to a bad version)
setup-tools false "" 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, helmv3, kubeval, conftest, yq, rancher, tilt, skaffold, kube-score
kubectl false 1.20.2 kubectl version. kubectl vesion can be found here
kustomize false 4.5.7 kustomize version. kustomize vesion can be found here
helm false 3.6.3 helm v3 version. helm vesion can be found here
helmv2 false 2.17.0 helm v2 version. helm v3 vesion can be found here
kubeval false 0.16.1 kubeval version (must be 0.16.1+). kubeval vesion can be found here.
NOTE: this parameter is deprecating as kubeval is no longer maintained. A good replacement is kubeconform. See also this for more details.
kubeconform false 0.5.0 kubeconform version. kubeconform vesion can be found here
conftest false 0.19.0 conftest version. conftest vesion can be found here
yq false 4.7.1 yq version. yq vesion can be found here
rancher false 2.4.10 Rancher CLI version. Rancher CLI vesion can be found here
tilt false 0.18.11 Tilt version. Tilt vesion can be found here
skaffold false 1.20.0 Skaffold version. Skaffold vesion can be found here
kube-score false 1.10.1 kube-score version. kube-score vesion can be found here
  • Supported Environments: Linux
  • From v0.7.0, the action supports tool version 'v' prefix. Prior to v0.7.0, the action only accept the tool version without 'v' prefix but from v0.7.0 the action automatically add/remove the prefix as necessary

Outputs

Parameter 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
helmv2-path helm v2 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
kubeconform-path kubeconform 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 command path if the action setup the tool, otherwise empty string
tilt-path rancher command path if the action setup the tool, otherwise empty string
skaffold-path rancher command path if the action setup the tool, otherwise empty string
kube-score-path: rancher command path if the action setup the tool, otherwise empty string

Sample Workflow

Specific versions for the commands can be setup by adding inputs parameters like this:

  test: 
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - uses: yokawasa/[email protected]
      with:
        kubectl: '1.17.1'
        kustomize: '3.7.0'
        helm: '3.5.2'
        helmv2: '2.16.7'
        kubeconform: '0.5.0'
        conftest: '0.18.2'
        rancher: '2.4.10'
        tilt: '0.18.11'
        skaffold: '1.20.0'
        kube-score: '1.10.1'
    - run: |
        kubectl version --client
        kustomize version
        helm version
        helmv2 version --client
        kubeconform -v
        conftest --version
        yq --version
        rancher --version
        tilt version
        skaffold version
        kube-score version

Default versions for the commands will be setup if you don't give any inputs like this:

  test: 
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - uses: yokawasa/[email protected]
    - run: |
        kubectl version --client
        kustomize version
        helm version
        helmv2 version --client
        kubeconform -v
        conftest --version
        yq --version
        rancher --version
        tilt version
        skaffold version
        kube-score version

By specifying setup-tools you can choose which tools the action setup. Supported separator is return in multi-line string like this

  test: 
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - uses: yokawasa/[email protected]
      with:
        setup-tools: |
          kubectl
          helm
          kustomize
          skaffold
        kubectl: '1.17.1'
        helm: '3.5.2'
        kustomize: '3.7.0'
        skaffold: '1.20.0'
    - run: |
        kubectl version --client
        kustomize version
        helm version
        skaffold version

Developing the action

Install the dependencies

npm install

Build the typescript and package it for distribution by running ncc

npm run build && npm run format && npm run lint && npm run pack

Finally push the results

git add dist
git commit -a -m "prod dependencies"
git push origin releases/v0.9.2

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/yokawasa/action-setup-kube-tools

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].