Commit 46c30785 authored by Brad Davidson's avatar Brad Davidson Committed by Brad Davidson

Expose failure if Traefik helm chart cannot be downloaded

parent f5af9be5
......@@ -18,6 +18,15 @@ done
mkdir -p bin/aux && rm bin/mount && ln -sf ../busybox bin/aux/mount
TRAEFIK_FILE=traefik-${TRAEFIK_VERSION}.tgz
curl -sfL https://kubernetes-charts.storage.googleapis.com/${TRAEFIK_FILE} -o ${CHARTS_DIR}/${TRAEFIK_FILE}
TRAEFIK_URL=https://kubernetes-charts.storage.googleapis.com/${TRAEFIK_FILE}
echo "Downloading Traefik Helm chart from ${TRAEFIK_URL}"
curl -sfL ${TRAEFIK_URL} -o ${CHARTS_DIR}/${TRAEFIK_FILE}
code=$?
if [ $code -ne 0 ]; then
echo "Error: Failed to download Traefik Helm chart!"
exit $code
fi
cp scripts/wg-add.sh bin/aux/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment