Strip sha256 hash
Validate and deploy Argo CD / validate (push) Successful in 17s
Validate and deploy Argo CD / deploy (push) Successful in 24s

This commit is contained in:
feedc0de committed 2026-10-14 20:15:52 +02:00
1 parent 3359b7913b
commit 89dfc412f2
4 files changed
+2 -12

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ bash -n "${project_dir}/render.sh" "${project_dir}/create-ci-kubeconfig.sh" "${p
if grep -Eq '^kind: Secret$' "${workdir}/argocd.yaml"; then
echo "Rendered Argo CD state must not contain Secrets" >&2; exit 1
fi
image=ghcr.io/yannh/kubeconform:v0.7.0@sha256:85dbef6b4b312b99133decc9c6fc9495e9fc5f92293d4ff3b7e1b30f5611823c
image=ghcr.io/yannh/kubeconform:v0.7.0
validate() { if command -v kubeconform >/dev/null; then kubeconform -strict -exit-on-error -summary "$@"; else local file=${!#}; docker run --rm -i "${image}" -strict -exit-on-error -summary "${@:1:$#-1}" < "$file"; fi; }
validate -ignore-missing-schemas "${workdir}/argocd.yaml"
validate "${project_dir}/ci-deployer.yaml"