Fix CI registry isolation and deployment prerequisites
Validate and deploy error pages / Validate manifests (push) Successful in 15s
Validate and deploy error pages / Deploy to Kubernetes (push) Successful in 1m14s

This commit is contained in:
feedc0de committed 2026-10-14 20:57:53 +02:00
1 parent 11d18c5b74
commit c147ea0dc9
2 files changed
+3 -2

No files matched your search

+2
View File
@@ -7,6 +7,8 @@ namespace=${NAMESPACE:-default}
service_account=${SERVICE_ACCOUNT:-traefik-error-pages-deployer}
secret=${TOKEN_SECRET:-traefik-error-pages-deployer-token}
[[ $(kubectl config current-context) == kubernetes-admin@kubernetes ]] || { echo "Wrong Kubernetes context" >&2; exit 1; }
kubectl apply --dry-run=server --filename "${project_dir}/ci-deployer.yaml" >&2
kubectl apply --filename "${project_dir}/ci-deployer.yaml" >&2
for attempt in {1..30}; do
+1 -2
View File
@@ -7,11 +7,10 @@
"replicaCount": {"type": "integer", "minimum": 1},
"image": {
"type": "object",
"required": ["repository", "tag", "digest", "pullPolicy"],
"required": ["repository", "tag", "pullPolicy"],
"properties": {
"repository": {"type": "string", "minLength": 1},
"tag": {"type": "string", "minLength": 1},
"digest": {"type": "string", "pattern": "^sha256:[a-f0-9]{64}$"},
"pullPolicy": {"enum": ["Always", "IfNotPresent", "Never"]}
}
},