mirror of
https://github.com/kelseyhightower/kubernetes-the-hard-way.git
synced 2025-08-13 22:32:41 +03:00
226: use curl for OSX downloads
This commit is contained in:
@@ -12,21 +12,16 @@ Download and install `cfssl` and `cfssljson` from the [cfssl repository](https:/
|
|||||||
### OS X
|
### OS X
|
||||||
|
|
||||||
```
|
```
|
||||||
wget -q --show-progress --https-only --timestamping \
|
curl -o cfssl https://pkg.cfssl.org/R1.2/cfssl_darwin-amd64
|
||||||
https://pkg.cfssl.org/R1.2/cfssl_darwin-amd64 \
|
curl -o cfssljson https://pkg.cfssl.org/R1.2/cfssljson_darwin-amd64
|
||||||
https://pkg.cfssl.org/R1.2/cfssljson_darwin-amd64
|
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
chmod +x cfssl_darwin-amd64 cfssljson_darwin-amd64
|
chmod +x cfssl cfssljson
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo mv cfssl_darwin-amd64 /usr/local/bin/cfssl
|
sudo mv cfssl cfssljson /usr/local/bin/
|
||||||
```
|
|
||||||
|
|
||||||
```
|
|
||||||
sudo mv cfssljson_darwin-amd64 /usr/local/bin/cfssljson
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Linux
|
### Linux
|
||||||
@@ -74,7 +69,7 @@ The `kubectl` command line utility is used to interact with the Kubernetes API S
|
|||||||
### OS X
|
### OS X
|
||||||
|
|
||||||
```
|
```
|
||||||
wget https://storage.googleapis.com/kubernetes-release/release/v1.7.4/bin/darwin/amd64/kubectl
|
curl -o kubectl https://storage.googleapis.com/kubernetes-release/release/v1.7.4/bin/darwin/amd64/kubectl
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user