Add dynamic Helm 3.10 CI image for GitLab chart

This commit is contained in:
Clemens Beck 2024-05-07 10:48:03 +00:00 committed by Balasankar 'Balu' C
parent 0420021dad
commit b70bdd0493
10 changed files with 118 additions and 45 deletions

13
scripts/install-vcluster Executable file
View file

@ -0,0 +1,13 @@
#!/bin/bash
set -xeou pipefail
VCLUSTER_VERSION=${1}
VCLUSTER_DOWNLOAD_SHA256=${2}
TARGETARCH=${TARGETARCH:-amd64}
VCLUSTER_DOWNLOAD_URL=https://github.com/loft-sh/vcluster/releases/download/v${VCLUSTER_VERSION}/vcluster-linux-${TARGETARCH}
/scripts/download-file vcluster "$VCLUSTER_DOWNLOAD_URL" "$VCLUSTER_DOWNLOAD_SHA256"
chmod +x vcluster
mv vcluster /usr/local/bin/vcluster