feat(mixingx-agent-unit): 简化PostgreSQL配置并移除角色预置逻辑
- 将PostgreSQL配置简化为单一用户名和密码模式,移除了管理员用户和应用用户的分离机制 - 移除了复杂的PostgreSQL角色预置SQL文件和相关的initContainer逻辑 - 直接通过连接字符串设置idle_in_transaction_session_timeout参数 - 更新版本号从1.0.2到1.0.3 - 移除了对预创建PostgreSQL凭证Secret的依赖
This commit is contained in:
1 parent
5bc1b52721
commit
4e517797e1
7 files changed
+15
-203
No files matched your search
@@ -45,16 +45,10 @@ sharedInfra:
|
||||
host: ultra-service
|
||||
port: 8080
|
||||
postgres:
|
||||
adminUsername: postgres
|
||||
appUsername: agent_runtime
|
||||
username: postgres
|
||||
password: "Admin12345"
|
||||
port: 5432
|
||||
idleInTransactionSessionTimeout: 60s
|
||||
credentialsSecret:
|
||||
# Leave empty to use <role>-<site>-postgres-credentials.
|
||||
name: ""
|
||||
adminPasswordKey: admin-password
|
||||
appPasswordKey: app-password
|
||||
connectionStringKey: connection-string
|
||||
redis:
|
||||
host: redis-service
|
||||
port: 6379
|
||||
|
||||
Reference in new issue
Block a user