This repository has been archived on 2026-10-18. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
argocd-deployment/render.sh
T
feedc0de 89dfc412f2
Validate and deploy Argo CD / validate (push) Successful in 17s
Validate and deploy Argo CD / deploy (push) Successful in 24s
Strip sha256 hash
2026-10-14 20:15:52 +02:00

12 lines
512 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
project_dir=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)
version=${ARGOCD_CHART_VERSION:-10.7.2}
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"
helm template argocd "${chart}" --namespace argocd \
--values "${project_dir}/argocd-values.yaml" > "${output}"