- 添加global.imageRegistry作为统一镜像仓库地址配置项 - 创建通用image模板函数处理镜像地址拼接逻辑 - 更新所有chart使用新的镜像配置结构 - 在README中添加镜像地址约定说明 - 修改CI命令示例以包含必要的镜像配置参数 - 将硬编码的镜像地址改为通过values动态配置
54 lines
1.3 KiB
YAML
54 lines
1.3 KiB
YAML
global:
|
|
imageRegistry: ""
|
|
|
|
timezone: Asia/Shanghai
|
|
|
|
storage:
|
|
className: local-path
|
|
|
|
sharedInfra:
|
|
postgres:
|
|
username: postgres
|
|
password: "Admin12345"
|
|
port: 5432
|
|
otlp:
|
|
endpoint: http://k8s-dashboard-service:18889
|
|
protocol: grpc
|
|
|
|
audit:
|
|
enabled: true
|
|
port: 5900
|
|
replicas: 2
|
|
database: audit-db
|
|
pgStorage: 5Gi
|
|
# 数据保留月数,按完整自然月清理分区(后端 AUDIT_RETENTION_MONTHS)
|
|
retentionMonths: 6
|
|
# JWT 鉴权:后端通过 SSO /api/sso/users/info 间接校验 token,这里配置 SSO base URL
|
|
jwt:
|
|
ssoBaseUrl: "http://sso-service:8080"
|
|
# 中心 Audit Broker(ADR-0048)与 audit 专属 PostgreSQL 随本 chart 发布(ADR-0065)
|
|
mqtt:
|
|
brokerHost: "audit-nanomq-service"
|
|
brokerPort: 1883
|
|
managementPort: 8081
|
|
managementUsername: "admin"
|
|
managementPassword: "public"
|
|
# 消费队列/并发配置
|
|
consume:
|
|
queueCapacity: 128
|
|
queueMaxWaitMs: 5000
|
|
dbWriteTimeoutMs: 3000
|
|
concurrency: 4
|
|
|
|
images:
|
|
audit: { repository: audit, tag: "" }
|
|
auditWeb: { repository: audit-web, tag: "" }
|
|
postgres: { repository: postgres, tag: "17" }
|
|
nanomq: { repository: nanomq, tag: "0.25.2-2" }
|
|
|
|
tier:
|
|
enabled: false
|
|
nodeLabel: mixingx.io/tier
|
|
services:
|
|
audit: { mode: required, tiers: [infra] }
|