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

-2
View File
@@ -2,12 +2,10 @@
set -euo pipefail
project_dir=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)
version=${ARGOCD_CHART_VERSION:-10.7.2}
digest=${ARGOCD_CHART_SHA256:-26111ae91779b28f18ef5c367f70530e3ecbec3effad45a7db59979344956dab}
output=${1:?Usage: render.sh OUTPUT_FILE}
chart=$(mktemp)
trap 'rm -f "${chart}"' EXIT
curl --fail --silent --show-error --location --output "${chart}" \
"https://github.com/argoproj/argo-helm/releases/download/argo-cd-${version}/argo-cd-${version}.tgz"
printf '%s %s\n' "${digest}" "${chart}" | sha256sum --check >&2
helm template argocd "${chart}" --namespace argocd \
--values "${project_dir}/argocd-values.yaml" > "${output}"