Embedding certs for the client as well

This commit is contained in:
Anand Sharma
2018-02-25 13:42:05 -05:00
committed by GitHub
parent 07226a796f
commit a230a027ee

View File

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