# Kubeconform

## A fast Kubernetes manifests validator

< OpenAPI to JSON Schema conversion Kubeconform as a Go module >

# Github Action

Kubeconform is publishes Docker Images to Github’s new Container Registry, ghcr.io. These images can be used directly in a Github Action, once logged in using a Github Token.

    name: kubeconform
    on: push
    jobs:
      kubeconform:
        runs-on: ubuntu-latest
        steps:
          - name: login to Github Packages
            run: echo "${{ github.token }}" | docker login https://ghcr.io -u ${GITHUB_ACTOR} --password-stdin
          - uses: actions/checkout@v2
          - uses: docker://ghcr.io/yannh/kubeconform:master
            with:
              entrypoint: '/kubeconform'
              args: "-summary -output json kubeconfigs/"

Note on pricing: Kubeconform relies on Github Container Registry which is currently in Beta. During that period, bandwidth is free. After that period, bandwidth costs might be applicable. Since bandwidth from Github Packages within Github Actions is free, I expect Github Container Registry to also be usable for free within Github Actions in the future. If that were not to be the case, I might publish the Docker image to a different platform.

< OpenAPI to JSON Schema conversion Kubeconform as a Go module >