Skip to content

Docker and Kubernetes

Markdown · llms.txt

Terminal window
make docker-build
make docker-run

The published image is ghcr.io/dyokto/opa-authzen-plugin. Releases up to v0.12.1 were published as ghcr.io/kanywst/opa-authzen-plugin; those tags stay available but receive no new pushes. Pass --addr 0.0.0.0:8181 when you publish the port: OPA binds localhost by default, so a container started without it accepts no connections from outside itself.

Terminal window
docker run --rm -p 8181:8181 -v "$PWD/example:/example:ro" \
ghcr.io/dyokto/opa-authzen-plugin:latest \
run --server --addr 0.0.0.0:8181 --config-file /example/config.yaml /example/policy.rego

For Kubernetes, example/kubernetes/ has a Deployment and Service you can apply with kubectl apply -k.

Images and release binaries are signed with Sigstore keyless signing and ship with an SBOM. See RELEASE.md for the verification commands.