- 将PostgreSQL配置简化为单一用户名和密码模式,移除了管理员用户和应用用户的分离机制 - 移除了复杂的PostgreSQL角色预置SQL文件和相关的initContainer逻辑 - 直接通过连接字符串设置idle_in_transaction_session_timeout参数 - 更新版本号从1.0.2到1.0.3 - 移除了对预创建PostgreSQL凭证Secret的依赖
80 lines
1.9 KiB
YAML
80 lines
1.9 KiB
YAML
registry: 192.168.1.105:8888/mixingx
|
|
tag: latest
|
|
timezone: Asia/Shanghai
|
|
# 客户环境由 environments/_common 注入 imagePullSecrets(ADR-0066);内网留空=匿名拉取,行为不变
|
|
imagePullSecrets: []
|
|
|
|
|
|
role: agent
|
|
site: "0"
|
|
description: "Agent 实例 0"
|
|
serviceId: ""
|
|
phaseType: "" # 工序类型(对应 apphost 的 AGENT_PHASE_TYPE,如 DieCasting/Passivation/Machining);空则不注入
|
|
database: ""
|
|
|
|
images:
|
|
backend:
|
|
repository: agent
|
|
tag: ""
|
|
frontend:
|
|
repository: agent-web
|
|
tag: ""
|
|
postgres:
|
|
repository: docker.io/library/postgres
|
|
tag: "17"
|
|
agent: {}
|
|
agentWeb: {}
|
|
|
|
ports:
|
|
backend: 8080
|
|
frontend: 80
|
|
postgres: 5432
|
|
|
|
storage:
|
|
className: local-path
|
|
size: 5Gi
|
|
keep: true
|
|
|
|
nodeName: ""
|
|
nodeSelector: {}
|
|
|
|
sharedInfra:
|
|
# Agent 侧服务发现注入的 Ultra 地址(services__ultra__http__0)。
|
|
# 默认指向平台级 Ultra;未来多 Ultra 部署时在对应 agent 的 values 覆盖 host 即可。
|
|
ultra:
|
|
host: ultra-service
|
|
port: 8080
|
|
postgres:
|
|
username: postgres
|
|
password: "Admin12345"
|
|
port: 5432
|
|
idleInTransactionSessionTimeout: 60s
|
|
redis:
|
|
host: redis-service
|
|
port: 6379
|
|
password: "Admin12345"
|
|
rabbitmq:
|
|
host: messaging-service
|
|
port: 5672
|
|
username: guest
|
|
password: guest
|
|
otlp:
|
|
endpoint: http://k8s-dashboard-service:18889
|
|
protocol: grpc
|
|
|
|
# credentialRef → credential 映射表。
|
|
# Agent 从 Gateway descriptor 获取每个 Edge 的 credentialRef,
|
|
# 再从此表查找对应的 MQTT 用户名/密码。
|
|
mqttCredentials: []
|
|
# - credentialRef: "edge-demo-mqtt"
|
|
# username: "edge-user"
|
|
# password: "edge-pass"
|
|
|
|
# Audit 事件发布(ADR-0048/0049):指向中心 Audit Broker。
|
|
# enabled=false 时服务内 AuditMqttPublisher 退化为 NoOp,不发审计事件。
|
|
# instanceId 默认取单元名(role-site,如 agent-demo-2)。
|
|
audit:
|
|
publisher:
|
|
enabled: false
|
|
brokerUrl: "mqtt://audit-nanomq-service:1883"
|