Embedding certs for the client as well

pull/322/head
Anand Sharma 2018-02-25 13:42:05 -05:00 committed by GitHub
parent 07226a796f
commit a230a027ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -25,9 +25,12 @@ kubectl config set-cluster kubernetes-the-hard-way \
--server=https://${KUBERNETES_PUBLIC_ADDRESS}:6443
```
Choose the `--embed-certs=true` below if that's convenient for your setup.
```
kubectl config set-credentials admin \
--client-certificate=admin.pem \
--embed-certs=true \
--client-key=admin-key.pem
```