Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Kubernetes tools for GitHub Actions CI

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages