Robustify kubectl download commands

`{K8S_VERSION}` gets auto-replaced with `\{K8S_VERSION\}` when pasting into a terminal. Encapsulating in double quotes avoids this.
This commit is contained in:
Craig Quiter 2016-04-28 18:39:44 -07:00
parent ebb5a5d61f
commit c7adc28cf4
1 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ variable.
For example, OS X:
```shell
curl -O http://storage.googleapis.com/kubernetes-release/release/${K8S_VERSION}/bin/darwin/amd64/kubectl
curl -O "http://storage.googleapis.com/kubernetes-release/release/${K8S_VERSION}/bin/darwin/amd64/kubectl"
chmod 755 kubectl
PATH=$PATH:`pwd`
```
@ -81,7 +81,7 @@ PATH=$PATH:`pwd`
Linux:
```shell
wget http://storage.googleapis.com/kubernetes-release/release/${K8S_VERSION}/bin/linux/amd64/kubectl
wget "http://storage.googleapis.com/kubernetes-release/release/${K8S_VERSION}/bin/linux/amd64/kubectl"
chmod 755 kubectl
PATH=$PATH:`pwd`
```