feat(audit): audit chart 新增 errorRetentionMonths——错误流水独立保留期透传

(openspec 变更 edge-agent-error-audit-retention;配套后端 AUDIT_ERROR_RETENTION_MONTHS)

- values.yaml: audit.errorRetentionMonths 默认 3(操作流水 retentionMonths=6 不变)
- templates/audit.yaml: deployment 透传 AUDIT_ERROR_RETENTION_MONTHS

注: 版本号 bump 随发布流程另行执行。
This commit is contained in:
liulingyun committed 2026-10-26 15:39:36 +08:00
1 parent 8733595824
commit a1da3f4e42
2 files changed
+7 -2

No files matched your search

+3 -1
View File
@@ -24,8 +24,10 @@ audit:
replicas: 2
database: audit-db
pgStorage: 5Gi
# 数据保留月数,按完整自然月清理分区(后端 AUDIT_RETENTION_MONTHS)
# 操作流水(audit_operations)保留月数,按完整自然月清理分区(后端 AUDIT_RETENTION_MONTHS)
retentionMonths: 6
# 错误流水(audit_errors)独立保留月数(后端 AUDIT_ERROR_RETENTION_MONTHS,2026-10-26 裁决:分表独立)
errorRetentionMonths: 3
# JWT 鉴权:后端通过 SSO /api/sso/users/info 间接校验 token,这里配置 SSO base URL
jwt:
ssoBaseUrl: "http://sso-service:8080"