From 45b13f1d7c585e04bd14a219b512aa0f65cab6ad Mon Sep 17 00:00:00 2001 From: OG T Date: Sat, 11 Apr 2026 02:05:11 +0800 Subject: [PATCH] =?UTF-8?q?fix(k8s):=20=E6=9B=B4=E6=96=B0=2003-secrets.exa?= =?UTF-8?q?mple.yaml=20=E2=80=94=20Sentry=20DSN=20=E6=94=B9=20HTTPS=20?= =?UTF-8?q?=E5=85=AC=E7=B6=B2=E5=9F=9F=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ADR-069 Sprint A A-0-5: - SENTRY_DSN: http://...@192.168.0.110:9000/3 → https://...@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 --- k8s/awoooi-prod/03-secrets.example.yaml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/k8s/awoooi-prod/03-secrets.example.yaml b/k8s/awoooi-prod/03-secrets.example.yaml index caaebecf..64d45dec 100644 --- a/k8s/awoooi-prod/03-secrets.example.yaml +++ b/k8s/awoooi-prod/03-secrets.example.yaml @@ -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://@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"