Files

27 lines
969 B
Markdown

# MixingX Agent Unit Chart
Deploys one agent site as one Helm release:
- `agent-<site>` backend
- `agent-web-<site>` frontend
- `agent-<site>-postgres` StatefulSet and retained PVC
The release requires a pre-created PostgreSQL credentials Secret. By default its
name is `agent-<site>-postgres-credentials`; the required keys are
`admin-password`, `app-password`, and `connection-string`. The Agent connection
string must use `sharedInfra.postgres.appUsername`, while the init container uses
the administrator credential only to idempotently provision the non-superuser
application role and its database-local idle transaction timeout.
Example:
```bash
helm upgrade --install mixingx-agent-workshop-a ./charts/mixingx-agent-unit \
--namespace mixingx --create-namespace \
--set site=workshop-a \
--set nodeName=agent-node-01 \
--set storage.className=longhorn \
--set sharedInfra.postgres.appUsername=agent_workshop_a \
--set tag=2026.07.02-abc1234
```