- 将PostgreSQL配置简化为单一用户名和密码模式,移除了管理员用户和应用用户的分离机制 - 移除了复杂的PostgreSQL角色预置SQL文件和相关的initContainer逻辑 - 直接通过连接字符串设置idle_in_transaction_session_timeout参数 - 更新版本号从1.0.2到1.0.3 - 移除了对预创建PostgreSQL凭证Secret的依赖
25 lines
816 B
Markdown
25 lines
816 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
|
|
|
|
Agent PostgreSQL sessions set `idle_in_transaction_session_timeout` through the
|
|
connection string. The default is `60s`, configurable with
|
|
`sharedInfra.postgres.idleInTransactionSessionTimeout`. This is a database-side
|
|
safety net for leaked idle transactions and does not change database users,
|
|
passwords, roles, or the PostgreSQL StatefulSet credential model.
|
|
|
|
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 tag=2026.07.02-abc1234
|
|
```
|