From e546128d7e4b350511b76c4dbb457fcd7d4b7959 Mon Sep 17 00:00:00 2001 From: Raphael Randschau Date: Sun, 23 Oct 2016 19:15:22 +0200 Subject: [PATCH] fix(readme): indicate token needs to be copied otherwise $k8stoken is used as variable value, which doesn't work as desired. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 02ac91c..12d1938 100644 --- a/README.md +++ b/README.md @@ -14,9 +14,9 @@ Setting up the K8s cluster requires a recent version of terraform (0.7.7 +) Besides terraform you need a Scaleway account and export `SCALEWAY_ACCESS_KEY` and `SCALEWAY_ORGANIZATION` to your ENV. ``` -$ k8stoken=$(python -c 'import random; print "%0x.%0x" % (random.SystemRandom().getrandbits(3*8), random.SystemRandom().getrandbits(8*8))') -$ terraform plan -var 'k8stoken=$k8stoken' -$ terraform apply -var 'k8stoken=$k8stoken' +$ python -c 'import random; print "%0x.%0x" % (random.SystemRandom().getrandbits(3*8), random.SystemRandom().getrandbits(8*8))' +$ terraform plan -var 'k8stoken=' +$ terraform apply -var 'k8stoken=' ``` Terraform will take ~10 minutes to finish. The setup includes the kubernetes-dashboard.