Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use LB DNS name in the users kubeconfig
After bootstrapping with kubeadm we create a kubeconfig for an additional user via `kubeadm alpha kubeconfig`. However there is validation logic which prevents us from using a CNAME for the API server's advertised address, despite being able to do this when using `kubeadm init`. This workaround simply uses sed to swap out the server location so that the user has a more robust config without having to manually change it. Fixes #235 Signed-off-by: John Schnake <jschnake@vmware.com>
- Loading branch information