feat(config): 移除Agent配置中的共享基础设施PostgreSQL凭据配置

移除了applications/demo/agents.yaml和applications/dev/disabled/agents.yaml中
的sharedInfra.postgres配置部分,同时从environments/demo/agent-common-values.yaml
和environments/dev/agent-common-values.yaml中调整了PostgreSQL配置结构,
将adminUsername改为username并添加了默认密码配置。

删除了不再需要的agent-postgres-role-rollout.md文档和
upsert-agent-postgres-credentials.sh脚本,简化了数据库凭据管理流程。

更新了environments/demo/agents.yaml和environments/dev/agents.yaml中
的Agent配置,移除了databaseUsername和postgresCredentialsSecret字段。
This commit is contained in:
王野 committed 2026-09-05 15:18:41 +08:00
1 parent 067c15f023
commit 1c96858a74
8 files changed
+4 -112

No files matched your search

-5
View File
@@ -35,11 +35,6 @@ spec:
site: "{{ .id }}"
description: "{{ .description }}"
phaseType: "{{ .phaseType }}"
sharedInfra:
postgres:
appUsername: "{{ .databaseUsername }}"
credentialsSecret:
name: "{{ .postgresCredentialsSecret }}"
{{- if hasKey . "nodeLabel" }}
nodeSelector:
mixingx.io/edge-node: "{{ .nodeLabel }}"
-5
View File
@@ -35,11 +35,6 @@ spec:
site: "{{ .id }}"
description: "{{ .description }}"
phaseType: "{{ .phaseType }}"
sharedInfra:
postgres:
appUsername: "{{ .databaseUsername }}"
credentialsSecret:
name: "{{ .postgresCredentialsSecret }}"
{{- if .nodeLabel }}
nodeSelector:
mixingx.io/edge-node: "{{ .nodeLabel }}"