Deploy Automatisch, an open-source business
automation platform, on Kubernetes with the official
automatischio/automatisch
image. The chart provides the required web and worker processes and supports
bundled or external PostgreSQL and Redis.
Features
Separate web and worker Deployments using the supported upstream process model.
Official, pinned Automatisch image with a configurable HTTP listener.
HelmForge PostgreSQL and Redis subcharts enabled by default.
External PostgreSQL and Redis configuration for production platforms.
Stable generated application keys preserved across Helm upgrades.
Ingress, resource, scheduling, ServiceAccount, and extra-manifest controls.
Restricted inbound NetworkPolicy with integration-friendly outbound access.
Non-root containers, read-only root filesystems, dropped capabilities,
runtime-default seccomp, and disabled service account token mounts.
Startup, readiness, and liveness probes for the web process.
Unit, schema, static, and k3d behavioral validation in the HelmForge gates.
Architecture
Automatisch requires two processes from the same image. The web Deployment
runs migrations and serves the API and UI. The worker Deployment sets
WORKER=true and consumes queued workflow executions from Redis. Both use the
same PostgreSQL database and cryptographic keys. The Kubernetes Service selects
only the web pods, so HTTP traffic cannot be routed to workers.
PostgreSQL contains workflows, connections, encrypted credentials, and
execution history. Redis carries the job queue. The application Secret contains
the stable encryption, session, and webhook keys. See DESIGN.md for
the complete boundary and decision record.
The default values are suitable for evaluation and deploy bundled PostgreSQL
and Redis. Set the public URL and explicit resources for a durable environment:
Changing automatisch.containerPorts.http changes both the container port and
the upstream PORT environment variable. It does not change service.port,
which is the client-facing Service port.
External PostgreSQL and Redis Example
Disable the bundled subcharts when using managed datastores. PostgreSQL
credentials should be supplied through an existing Secret:
The chart rejects an external database without a host or password source and
rejects an external Redis configuration without a host.
Security
By default, web and worker containers run as UID/GID 1000, privilege escalation
is disabled, all Linux capabilities are dropped, the root filesystem is
read-only, and runtime-default seccomp is enabled. Pods do not receive
Kubernetes API tokens by default. Operators can override these settings; the
bundled datastore charts retain their own security contracts.
The default NetworkPolicy accepts inbound traffic only on the named HTTP port.
Outbound traffic remains open because workflows must reach arbitrary external
integration APIs. Restrictive environments can replace networkPolicy.egress
with explicit DNS, PostgreSQL, Redis, proxy, and destination rules.
The generated application Secret must be backed up. Changing
ENCRYPTION_KEY, APP_SECRET_KEY, or WEBHOOK_SECRET_KEY after data exists can
invalidate stored credentials, sessions, or webhook verification. Kubernetes
Secret encryption at rest and least-privilege RBAC remain cluster operator
responsibilities. See docs/security.md.
Operations
The web process performs database migrations during startup, so the chart keeps
one web replica. Scale workflow capacity through worker.replicaCount. Back up
PostgreSQL and the application Secret together, monitor Redis capacity, and
test restore procedures outside production.
With Ingress disabled, access the UI through a port-forward:
If the web pod remains in Init, inspect PostgreSQL readiness and the
wait-for-db init container. If the UI is ready but workflows do not execute,
inspect the worker Deployment and Redis connectivity. A worker must contain
WORKER=true; the chart sets it automatically.
If a custom listener port is unreachable, confirm that PORT,
containerPort, and the named Service target all reflect
automatisch.containerPorts.http:
kubectl get deployment automatisch-automatisch --namespace automatisch -o yaml
kubectl get service automatisch-automatisch --namespace automatisch -o yaml
For upgrade failures, inspect web logs for migration errors before rolling
back. Restore PostgreSQL and the matching application Secret as one recovery
unit when encrypted credentials are involved.
Official Schema
Values & Configuration Reference
All schema parameters, types, defaults, and allowed values are extracted directly from the chart repository. Filter and search them in the interactive reference below or customize in Values Studio.