Update 02-client-tools.md

Using https://github.com/cloudflare/cfssl/releases for downloading cfssl & cfssljson instead of the using the links https://storage.googleapis.com/kubernetes-the-hard-way/cfssl and https://storage.googleapis.com/kubernetes-the-hard-way/cfssljson as the files are unavailable at storage.googleapis.com location
This commit is contained in:
zaabskr
2023-05-22 14:54:54 +05:30
committed by GitHub
parent 79a3f79b27
commit 82839f71af

View File

@@ -7,15 +7,12 @@ In this lab you will install the command line utilities required to complete thi
The `cfssl` and `cfssljson` command line utilities will be used to provision a [PKI Infrastructure](https://en.wikipedia.org/wiki/Public_key_infrastructure) and generate TLS certificates. The `cfssl` and `cfssljson` command line utilities will be used to provision a [PKI Infrastructure](https://en.wikipedia.org/wiki/Public_key_infrastructure) and generate TLS certificates.
Download and install `cfssl` and `cfssljson`: Download `cfssl` and `cfssljson`: from https://github.com/cloudflare/cfssl/releases
Rename the files to cfssl & cfssljson
Install `cfssl` and `cfssljson`
### OS X ### OS X
```
curl -o cfssl https://storage.googleapis.com/kubernetes-the-hard-way/cfssl/1.4.1/darwin/cfssl
curl -o cfssljson https://storage.googleapis.com/kubernetes-the-hard-way/cfssl/1.4.1/darwin/cfssljson
```
``` ```
chmod +x cfssl cfssljson chmod +x cfssl cfssljson
``` ```
@@ -32,12 +29,6 @@ brew install cfssl
### Linux ### Linux
```
wget -q --show-progress --https-only --timestamping \
https://storage.googleapis.com/kubernetes-the-hard-way/cfssl/1.4.1/linux/cfssl \
https://storage.googleapis.com/kubernetes-the-hard-way/cfssl/1.4.1/linux/cfssljson
```
``` ```
chmod +x cfssl cfssljson chmod +x cfssl cfssljson
``` ```