fix(k8s): 更新 03-secrets.example.yaml — Sentry DSN 改 HTTPS 公網域名

ADR-069 Sprint A A-0-5:
- SENTRY_DSN: http://...@192.168.0.110:9000/3https://...@sentry.wooo.work/3
- 同步 Web DSN 範例(NEXT_PUBLIC_SENTRY_DSN)
- 加入取得 DSN 的步驟說明
- system.url-prefix 已設定為 https://sentry.wooo.work

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
OG T
2026-04-11 02:05:11 +08:00
parent 68a3858ae4
commit 45b13f1d7c

View File

@@ -64,13 +64,20 @@ stringData:
LANGFUSE_SECRET_KEY: "CHANGE_ME"
# ============================================================================
# Phase 10: Sentry Self-Hosted (192.168.0.110:9000)
# Phase 10: Sentry Self-Hosted (sentry.wooo.work)
# 2026-03-27: 首席架構師審查 - 補齊遺漏配置
# 2026-03-29: Wave A.1 新增 SENTRY_AUTH_TOKEN (ADR-037)
# 2026-04-11: ADR-069 Sprint A — 更新為 HTTPS 公網域名 (sentry.wooo.work)
# 取得步驟:
# 1. SSH wooo@192.168.0.110
# 2. docker exec sentry-self-hosted-web-1 sentry django shell -c "
# from sentry.models import Project, ProjectKey
# p = Project.objects.get(name='awoooi-api')
# print(ProjectKey.objects.filter(project=p).first().get_dsn())"
# ============================================================================
# API DSN (Project ID: 3)
SENTRY_DSN: "http://8c4a210fd52909bbbdab642a166ff66e@192.168.0.110:9000/3"
# Auth Token for API Comment/Issues 操作 (Settings → API Keys → Scopes: project:write)
# API DSN (Project ID: 3) — 格式https://<key>@sentry.wooo.work/3
SENTRY_DSN: "https://8c4a210fd52909bbbdab642a166ff66e@sentry.wooo.work/3"
# Auth Token for API Comment/Issues 操作 (Settings → Developer Settings → Internal Integrations)
SENTRY_AUTH_TOKEN: "CHANGE_ME"
# Web DSN (Project ID: 2) - 需在 Web ConfigMap 配置
# NEXT_PUBLIC_SENTRY_DSN: "http://da02d4e5d6542e4d1ed6b2dd6542efeb@192.168.0.110:9000/2"
# NEXT_PUBLIC_SENTRY_DSN: "https://da02d4e5d6542e4d1ed6b2dd6542efeb@sentry.wooo.work/2"