luxas / kubeadm-installer

A kubeadm installer container for CoreOS, Ubuntu, Debian, CentOS and Fedora

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Unbound variable" error when using "default" action (not providing any on the CLI)

xakraz opened this issue · comments

https://github.com/xakraz/kubeadm-installer/blob/master/files/entrypoint.sh#L168

$ docker run --rm -it \
>   --env="http_proxy=http://XXXX:3128" \
>   --env="https_proxy=http://XXXX:3128" \
>   --env="KUBEADM_RELEASE=v1.6.1" \
>   --volume=/etc/cni:/rootfs/etc/cni \
>   --volume=/etc/systemd:/rootfs/etc/systemd \
>   --volume=/opt:/rootfs/opt \
>   --volume=/usr/bin:/rootfs/usr/bin \
>   xakra/kubeadm-installer coreos

Unable to find image 'xakra/kubeadm-installer:latest' locally
latest: Pulling from xakra/kubeadm-installer
2aecc7e1714b: Pull complete 
8f7b96c2ad68: Pull complete 
5918ece632fc: Pull complete 
Digest: sha256:a5c7f579e7c9f612d1a613e7c3d6330a41748af83fd1fdc572b66c6e9e2be389
Status: Downloaded newer image for xakra/kubeadm-installer:latest

[ENV] 'K8S_VERSION' is empty -> Getting latest release version
[ENV] 'K8S_VERSION' = v1.6.6
[ENV] 'KUBEADM_RELEASE' = v1.6.1
[ENV] 'CNI_RELEASE' is empty -> Getting latest release version
[ENV] 'CNI_RELEASE' = v0.5.2
[Kubeadm] Selected version: v1.6.1
[Kubeadm] KUBEADM_RELEASE v1.6.1 is a Release version
[Kubeadm] Download url: https://storage.googleapis.com/kubernetes-release/release
[CNI] Selected version: v0.5.2
[CNI] CNI_RELEASE v0.5.2 is a Release version
[CNI] Download url: https://github.com/containernetworking/cni/releases/download/v0.5.2/cni-amd64-v0.5.2.tgz

/entrypoint.sh: line 168: $2: unbound variable

This is one for me :D

But since I do not own the original repo yet, I can not create issues on my fork.