feat(agent-unit): provision dedicated PostgreSQL runtime role
This commit is contained in:
1 parent
bcc5e0d4d0
commit
b357808e99
7 files changed
+205
-10
No files matched your search
@@ -6,6 +6,13 @@ Deploys one agent site as one Helm release:
|
||||
- `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
|
||||
@@ -14,5 +21,6 @@ helm upgrade --install mixingx-agent-workshop-a ./charts/mixingx-agent-unit \
|
||||
--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
|
||||
```
|
||||
Reference in new issue
Block a user