petri

by wenisch.tech

Helm chartv0.24.6App 0.24.6AGPL-3.0

Self-hosted agentic coding harness, multi-agent orchestrator and development environment

About this chart

Petri Helm chart

Deploys Petri, a self-hosted agentic coding harness, multi-agent orchestrator and development environment.

The chart source lives in this repository. Released versions are signed with Cosign and published to the Wenisch Tech Helm repository (https://charts.wenisch.tech) and to oci://ghcr.io/wenisch-tech/helm-charts/petri.

helm repo add wenisch-tech https://charts.wenisch.tech
helm repo update
helm install petri wenisch-tech/petri -n petri --create-namespace \
  --set secrets.PETRI_ADMIN_PASSWORD='change-me' \
  --set secrets.PETRI_SECRETS_MASTER_KEY="$(openssl rand -base64 32)"

Notes

  • Persistence is enabled by default (/app/data: embedded H2, mirrors, worktrees and the master key). The embedded database allows a single writer, so the chart uses the Recreate strategy. Use PostgreSQL (env.SPRING_DATASOURCE_URL, secrets.SPRING_DATASOURCE_PASSWORD) for anything else.
  • Master key: set secrets.PETRI_SECRETS_MASTER_KEY or let Petri generate one on the volume, and back it up either way.
  • Tests: Petri runs tests in rootless Podman. The container image does not ship Podman, so sandboxed test execution needs a node/runtime that provides it and is out of scope for this chart.
  • OIDC is configured through OIDC_ENABLED and OIDC_PROVIDERS_<n>_* environment variables (multiple providers supported); see values.yaml.
  • Proxies / command variables: HTTP_PROXY, HTTPS_PROXY, NO_PROXY and PETRI_COMMAND_ENV_<NAME> reach terminal commands, tests and package installs; profiles can add more under /sandbox-profiles.
  • IGNORE_TLS disables TLS certificate/hostname verification for all outbound HTTPS, for self-hosted setups with a private CA. OIDC_INSECURE_SKIP_TLS_VERIFY limits that to OIDC providers.

Deploy petri with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has petri on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartpetri is pinned at v0.24.6 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply