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:
@@ -73,7 +73,7 @@ variable.
|
|||||||
For example, OS X:
|
For example, OS X:
|
||||||
|
|
||||||
```shell
|
```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
|
chmod 755 kubectl
|
||||||
PATH=$PATH:`pwd`
|
PATH=$PATH:`pwd`
|
||||||
```
|
```
|
||||||
@@ -81,7 +81,7 @@ PATH=$PATH:`pwd`
|
|||||||
Linux:
|
Linux:
|
||||||
|
|
||||||
```shell
|
```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
|
chmod 755 kubectl
|
||||||
PATH=$PATH:`pwd`
|
PATH=$PATH:`pwd`
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user