Skip to content

Commit ba91136

Browse files
committed
Bump kube-deploy, set addons to 0.8.0 and move the root check down the road
1 parent 0a67163 commit ba91136

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

sdcard/rootfs/docker-multinode/usr/bin/kube-config

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,6 @@ if [[ ${K8S_DEBUG} == 1 ]]; then
77
set -x
88
fi
99

10-
# Root is required
11-
if [[ ${EUID} != 0 ]]; then
12-
echo "Please run as root"
13-
usage
14-
exit 1
15-
fi
16-
1710
INSTALL_DEFAULT_TIMEZONE="Europe/Helsinki"
1811
INSTALL_DEFAULT_HOSTNAME="kubepi"
1912
INSTALL_DEFAULT_STORAGEDRIVER="overlay"
@@ -25,11 +18,11 @@ KUBERNETES_ENV_DIR=${KUBERNETES_DIR}/env
2518
KUBERNETES_ENV_FILE=${KUBERNETES_ENV_DIR}/env.conf
2619

2720
KUBE_DEPLOY_DIR=${KUBERNETES_DIR}/kube-deploy
28-
KUBE_DEPLOY_COMMIT=8c6e6bfa44f6a83afe9b129f3ad78334beb680f1
21+
KUBE_DEPLOY_COMMIT=e4c1bccca6897e4df6221af6b60fbb80e5b6708f
2922
MULTINODE_DIR=${KUBE_DEPLOY_DIR}/docker-multinode
3023
SUPPORTED_K8S_VERSION=v1.3.6
3124

32-
KUBERNETES_ON_ARM_IMAGE_VERSION=0.8.0-dev
25+
KUBERNETES_ON_ARM_IMAGE_VERSION=0.8.0
3326

3427
DNS_DOMAIN="cluster.local"
3528
DNS_IP=10.0.0.10
@@ -69,6 +62,13 @@ Usage:
6962
EOF
7063
}
7164

65+
# Root is required
66+
if [[ ${EUID} != 0 ]]; then
67+
echo "Please run as root"
68+
usage
69+
exit 1
70+
fi
71+
7272
install(){
7373

7474
# Source the commands, e.g. os_install, os_post_install, board_install and board_post_install

0 commit comments

Comments
 (0)