One-line install
Clones the repo, seeds.env, brings up the full stack in Docker, and (when Go is
installed) builds and installs the trustgate CLI on your PATH:
git, docker, and Docker Compose (plus Go to build the CLI). Re-running updates
the checkout and never overwrites your .env. Useful overrides:
| Variable | Effect |
|---|---|
AG_REF=develop | Install a different branch / tag / commit. |
AG_DIR=/path/to/dir | Where to clone. |
AG_BIN_DIR=~/.local/bin | Where to install the trustgate CLI. |
AG_INSTALL_CLI=0 | Skip building the CLI. |
AG_NO_START=1 | Skip docker compose up. |
Docker Compose
The image is pinned tolinux/amd64becauseconfluent-kafka-goonly bundles an amd64librdkafka; on Apple Silicon the build runs under emulation out of the box.
Local development
Run the infra in Docker and the binary on your machine so you can attach a debugger:Kubernetes
Manifests live underk8s/ (kustomize); each plane is its own Deployment:
Configuration
All configuration is read from environment variables — in dev,.env is loaded
automatically; in production, inject them via Helm values, ECS task definitions, or a k8s
ConfigMap + Secret. See Configuration for the full
reference, and Deployment for production topology.