fix: use certificate-safe api-pulse hostname

Cloudflare Universal SSL covers *.noelsabia.dev only one level deep.
api.pulse.noelsabia.dev is two levels and fails the certificate check.
- switch the API base/SSE URLs to api-pulse.noelsabia.dev
- update smoke, k6, runbook, and failure drills
- record the verified DNS/certificate diagnosis and local cache flush
This commit is contained in:
Noel Sabia committed 2026-11-14 06:40:35 +01:00
1 parent 2eacb62696
commit e8e0f2035b
10 files changed
+68 -55

No files matched your search

+3 -3
View File
@@ -9,7 +9,7 @@ metadata:
app.kubernetes.io/part-of: pulsecast
data:
PUBLIC_WEB_URL: "https://pulse.noelsabia.dev"
PUBLIC_API_URL: "https://api.pulse.noelsabia.dev"
PUBLIC_API_URL: "https://api-pulse.noelsabia.dev"
API_INTERNAL_URL: "http://api:8080"
ML_INTERNAL_URL: "http://ml:8000"
CORS_ALLOWED_ORIGINS: "https://pulse.noelsabia.dev,http://localhost:3000"
@@ -28,9 +28,9 @@ data:
PORT: "3000"
NUXT_TELEMETRY_DISABLED: "1"
TMPDIR: "/tmp"
NUXT_PUBLIC_API_BASE: "https://api.pulse.noelsabia.dev"
NUXT_PUBLIC_API_BASE: "https://api-pulse.noelsabia.dev"
NUXT_API_INTERNAL_BASE: "http://api:8080"
NUXT_PUBLIC_SSE_URL: "https://api.pulse.noelsabia.dev/api/stream"
NUXT_PUBLIC_SSE_URL: "https://api-pulse.noelsabia.dev/api/stream"
---
apiVersion: v1
kind: ConfigMap
+1 -1
View File
@@ -1,7 +1,7 @@
# Cloudflare Tunnel is the only public exposure path.
# Routes are configured in the Cloudflare Zero Trust dashboard:
# pulse.noelsabia.dev -> http://web:3000
# api.pulse.noelsabia.dev -> http://api:8080
# api-pulse.noelsabia.dev -> http://api:8080
# The token lives in the `cloudflared` Secret, created by the human; never in git.
apiVersion: apps/v1
kind: Deployment