- 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
@@ -67,8 +67,9 @@ validate-kubeconform: ## Validate schemas with kubeconform (must be installed)
|
||||
@command -v "$(KUBECONFORM)" >/dev/null 2>&1 || { echo "kubeconform not found; go install github.com/yannh/kubeconform/cmd/kubeconform@latest"; exit 1; }
|
||||
"$(KUBECONFORM)" -strict -summary -ignore-missing-schemas "$(ROOT)/deploy/k8s"
|
||||
|
||||
gate1-check: ## Read-only Gate 1 readiness: permissions, guardrails, dry-run, Secrets (never mutates)
|
||||
gate1-check: ## Read-only Gate 1 readiness (STATIC_ONLY=1 for cluster-free CI)
|
||||
@NS="$(NAMESPACE)" CONTEXT="$(CONTEXT)" REGISTRY="$(REGISTRY)" OWNER="$(OWNER)" TAG="$(TAG)" \
|
||||
STATIC_ONLY="$(STATIC_ONLY)" \
|
||||
"$(ROOT)/scripts/gate1-check.sh"
|
||||
|
||||
build: build-web build-api build-ml ## Build all three images locally
|
||||
|
||||
Reference in new issue
Block a user