Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 1.05 KB

README.md

File metadata and controls

38 lines (31 loc) · 1.05 KB

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 available tools and versions.

GitHub Workflow example:

name: CI

on: [push, pull_request]

jobs:
  test-action:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Run Kubernetes tools
        uses: stefanprodan/kube-tools@v1
        with:
          kubectl: 1.18.2
          kustomize: 3.5.5
          helm: 2.16.7
          helmv3: 3.2.1
          kubeseal: 0.12.5
          kubeaudit: 0.11.5
          command: |
            echo "Run conftest"
            kustomize build test/kustomize | conftest test -p test/policy -
            echo "Run kubeval"
            helmv3 template ./charts/test | kubeval --strict