- add .gitea/workflows/ci.yml with no secrets and no cluster writes - extract static guardrails to scripts/check_manifests.py - add gate1-check STATIC_ONLY=1 for CI without a kubeconfig - add numeric fsGroup to every pod securityContext - document CI and numeric user requirements
This commit is contained in:
1 parent
5b199f8fe3
commit
23ad37699f
11 files changed
+364
-273
No files matched your search
@@ -32,6 +32,7 @@ spec:
|
||||
# (verified on SKE with curlimages/curl, 2026-11-14).
|
||||
runAsUser: 10001
|
||||
runAsGroup: 10001
|
||||
fsGroup: 10001
|
||||
containers:
|
||||
- name: ml
|
||||
image: git.noelsabia.dev/noelsabia/pulsecast-ml:gate1
|
||||
|
||||
@@ -33,6 +33,7 @@ spec:
|
||||
# runAsNonRoot never depends on the image's user name.
|
||||
runAsUser: 65532
|
||||
runAsGroup: 65532
|
||||
fsGroup: 65532
|
||||
containers:
|
||||
- name: api
|
||||
image: git.noelsabia.dev/noelsabia/pulsecast-api:gate1
|
||||
|
||||
@@ -35,6 +35,7 @@ spec:
|
||||
# 10001:10001. Do not rely on a named image user.
|
||||
runAsUser: 10001
|
||||
runAsGroup: 10001
|
||||
fsGroup: 10001
|
||||
containers:
|
||||
- name: web
|
||||
# Replace owner/package only if your Gitea layout differs. Keep the tag in sync with `make build`.
|
||||
|
||||
@@ -34,6 +34,7 @@ spec:
|
||||
# cloudflared's image user is 65532:65532; set it numerically.
|
||||
runAsUser: 65532
|
||||
runAsGroup: 65532
|
||||
fsGroup: 65532
|
||||
containers:
|
||||
- name: cloudflared
|
||||
# Public Docker Hub image; no Gitea pull secret needed for this pod.
|
||||
|
||||
Reference in new issue
Block a user