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:
parent
ebb5a5d61f
commit
c7adc28cf4
|
@ -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`
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue