Browse Source

Merge pull request #1914 from Oats87/nft-aux-iptables

Implement new k3s-root changes
remotes/Jason-ZW/master
Chris Kim 4 years ago committed by GitHub
parent
commit
4637816f40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      scripts/download

7
scripts/download

@ -4,18 +4,13 @@ cd $(dirname $0)/..
. ./scripts/version.sh . ./scripts/version.sh
ROOT_VERSION=v0.4.1 ROOT_VERSION=v0.5.0
TRAEFIK_VERSION=1.81.0 TRAEFIK_VERSION=1.81.0
CHARTS_DIR=build/static/charts CHARTS_DIR=build/static/charts
mkdir -p ${CHARTS_DIR} mkdir -p ${CHARTS_DIR}
curl --compressed -sfL https://github.com/rancher/k3s-root/releases/download/${ROOT_VERSION}/k3s-root-${ARCH}.tar | tar xf - curl --compressed -sfL https://github.com/rancher/k3s-root/releases/download/${ROOT_VERSION}/k3s-root-${ARCH}.tar | tar xf -
ln -sf pigz bin/unpigz
for target in iptables iptables-save iptables-restore ip6tables ip6tables-save ip6tables-restore; do
ln -sf xtables-legacy-multi bin/$target
done
mkdir -p bin/aux && rm bin/mount && ln -sf ../busybox bin/aux/mount
TRAEFIK_FILE=traefik-${TRAEFIK_VERSION}.tgz TRAEFIK_FILE=traefik-${TRAEFIK_VERSION}.tgz
curl -sfL https://kubernetes-charts.storage.googleapis.com/${TRAEFIK_FILE} -o ${CHARTS_DIR}/${TRAEFIK_FILE} curl -sfL https://kubernetes-charts.storage.googleapis.com/${TRAEFIK_FILE} -o ${CHARTS_DIR}/${TRAEFIK_FILE}

Loading…
Cancel
Save