feat: harden Gate 1 manifests and runbook

- add read-only make gate1-check: permissions, guardrails, dry-run, Secret keys
- set numeric runAsUser/runAsGroup (SKE non-numeric user caveat), pin cloudflared and use HTTP/2
- align ML env with PULSECAST_* and wire CONTROL_TOKEN for API/ML training proxy
- fix service worktree paths and smoke.sh executable bit
- pin k6 v2.0.0 for xk6-sse, fix closed-connection metric and initial scenario latency
- rewrite docs/deploy.md as an exact copy-paste Gate 1 checklist
This commit is contained in:
Noel Sabia committed 2026-11-14 05:10:41 +01:00
1 parent 55dfe8b616
commit 5b199f8fe3
13 files changed
+1231 -235

No files matched your search

+9 -1
View File
@@ -31,14 +31,22 @@ spec:
securityContext:
seccompProfile:
type: RuntimeDefault
# cloudflared's image user is 65532:65532; set it numerically.
runAsUser: 65532
runAsGroup: 65532
containers:
- name: cloudflared
# Public Docker Hub image; no Gitea pull secret needed for this pod.
image: cloudflare/cloudflared:latest
# Pinned rather than :latest so a surprise upstream change cannot break Gate 1.
image: cloudflare/cloudflared:2026.11.0
imagePullPolicy: IfNotPresent
args:
- tunnel
- --no-autoupdate
# SKE smoke confirmed TCP/443 to Cloudflare but did not test
# UDP/7844 (QUIC). HTTP/2 avoids depending on untested UDP.
- --protocol
- http2
- --metrics
- 0.0.0.0:2000
- run