Archived
Strip sha256 hash
This commit is contained in:
1 parent
3359b7913b
commit
89dfc412f2
4 files changed
+2
-12
No files matched your search
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user