mirror of
https://github.com/kelseyhightower/kubernetes-the-hard-way.git
synced 2025-12-15 01:08:58 +03:00
Embedding certs for the client as well
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user