Skip to content

Warning

You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?

Kubernetes toolset

Actions
Github Action with Kubernetes tools: kubectl, kustomize, helm, kubeval, kubeaudit, conftest, jq, yq, go
v1.3.0
Star (190)

kube-tools

CI Docker

Github Action with Kubernetes tools: kubectl, kustomize, helm, kubeval, conftest, jq, yq, go. See the release page for the list of avaible tools and versions.

GitHub Workflow example:

name: CI

on: [push, pull_request]

jobs:
  test-action:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - name: Run Kubernetes tools
        uses: stefanprodan/kube-tools@v1
        with:
          kubectl: 1.16.2
          kustomize: 3.4.0
          helm: 2.16.1
          helmv3: 3.0.0
          command: |
            echo "Run conftest"
            kustomize build test/kustomize | conftest test -p test/policy -
            echo "Run kubeval"
            kustomize build test/kustomize | kubeval --strict

CircleCI example:

version: 2.1
jobs:
  test:
    docker:
      - image: stefanprodan/kube-tools:v1
    steps:
      - checkout
      - run:
          name: Run Kubernetes tools
          command: |
            kubectl version --client
            kustomize version
            helm version --client
            helmv3 version
            kubeval --version
            conftest --version
            yq --version
            jq --version
            go version

Kubernetes toolset is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Github Action with Kubernetes tools: kubectl, kustomize, helm, kubeval, kubeaudit, conftest, jq, yq, go
v1.3.0

Kubernetes toolset is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.