k3s/scripts/download
2020-07-01 15:56:47 -07:00

19 lines
466 B
Bash
Executable File

#!/bin/bash
cd $(dirname $0)/..
. ./scripts/version.sh
ROOT_VERSION=v0.5.0
TRAEFIK_VERSION=1.81.0
CHARTS_DIR=build/static/charts
mkdir -p ${CHARTS_DIR}
curl --compressed -sfL https://github.com/rancher/k3s-root/releases/download/${ROOT_VERSION}/k3s-root-${ARCH}.tar | tar xf -
TRAEFIK_FILE=traefik-${TRAEFIK_VERSION}.tgz
curl -sfL https://kubernetes-charts.storage.googleapis.com/${TRAEFIK_FILE} -o ${CHARTS_DIR}/${TRAEFIK_FILE}
cp scripts/wg-add.sh bin/aux/