stefanprodan / kube-tools

Kubernetes tools for GitHub Actions CI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kube-tools

CI Docker

Github Action with Kubernetes tools: kubectl, kustomize, helm, kubeval, conftest, kubeconform, 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.23.0
          kustomize: 4.4.1
          helm: 2.17.0
          helmv3: 3.7.2
          kubeseal: 0.16.0
          kubeval: v0.16.1
          conftest: 0.28.3
          kubeconform: 0.4.12
          command: |
            echo "Run conftest"
            kustomize build test/kustomize | conftest test -p test/policy -
            echo "Run kubeval"
            helmv3 template ./charts/test | kubeval --strict

Container images:

  • ghcr.io/stefanprodan/kube-tools
  • docker.io/stefanprodan/kube-tools
ezoic increase your site revenue

About

Kubernetes tools for GitHub Actions CI

License:Apache License 2.0


Languages

Language:Shell 77.2%Language:Open Policy Agent 19.4%Language:Makefile 1.9%Language:Dockerfile 1.5%