Skip to content
This repository has been archived by the owner on Jun 19, 2021. It is now read-only.

Commit

Permalink
fix(readme): indicate token needs to be copied
Browse files Browse the repository at this point in the history
otherwise $k8stoken is used as variable value, which doesn't work as desired.
  • Loading branch information
nicolai86 committed Oct 23, 2016
1 parent 0cfa954 commit e546128
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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=<k8stoken>'
$ terraform apply -var 'k8stoken=<k8stoken>'
```

Terraform will take ~10 minutes to finish. The setup includes the kubernetes-dashboard.
Expand Down

0 comments on commit e546128

Please sign in to comment.