Update 04-certificate-authority.md

Having ~/ after ${instance}: would return pscp: remote filespec ~/: not a directory error. Removing the ~/ section resolves the issue.
pull/544/head
Chris Reed 2020-01-18 20:51:12 -05:00 committed by GitHub
parent 5c462220b7
commit df049f0bde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -396,7 +396,7 @@ Copy the appropriate certificates and private keys to each worker instance:
```
for instance in worker-0 worker-1 worker-2; do
gcloud compute scp ca.pem ${instance}-key.pem ${instance}.pem ${instance}:~/
gcloud compute scp ca.pem ${instance}-key.pem ${instance}.pem ${instance}:
done
```
@ -405,7 +405,7 @@ Copy the appropriate certificates and private keys to each controller instance:
```
for instance in controller-0 controller-1 controller-2; do
gcloud compute scp ca.pem ca-key.pem kubernetes-key.pem kubernetes.pem \
service-account-key.pem service-account.pem ${instance}:~/
service-account-key.pem service-account.pem ${instance}:
done
```