Skip to content

Local installation

You can install the pre-compiled binary (in several ways), compile from sources, or run with Docker.

Install the pre-compiled binary

Manually

Download the pre-compiled binaries for your system from the releases page and copy them to the desired location.

Install using go install

You can install with go install with:

go install github.com/kyverno/kyverno-authz@latest

Run with Docker

The Kyverno Authz Server is also available as a Docker image which you can pull and run:

docker pull ghcr.io/kyverno/kyverno-authz:<version>
docker run --rm                                     \
    -v ${HOME}/.kube/:/etc/kubeconfig/              \
    -e KUBECONFIG=/etc/kubeconfig/config            \
    --network=host                                  \
    ghcr.io/kyverno/kyverno-authz:<version>  \
    version

Compile from sources

clone:

git clone https://github.com/kyverno/kyverno-authz.git

build the binaries:

cd kyverno-authz
go mod tidy
make build

verify it works:

./kyverno-authz version