Ghe Rivero
8181fd29b2
Add node-name flag to init phase
...
Allow to specify a node-name instead of relaying in `os.Hostname()`
This is useful where kubelet use the name given by the cloud-provider to
register the node.
Partially fix : kubernetes/kubeadm#64
2017-07-12 12:40:25 +02:00
fabriziopandini
c2e9052aea
fully implement kubeadm-phase-certs - stash
2017-07-08 14:58:11 +02:00
Lucas Käldström
579a743482
kubeadm: Add --cert-dir, --apiserver-cert-extra-sans, remove --api-external-dns-names and add the phase command for certs. Also use the CertificatesDir var everywhere instead of the HostPKIPath variable and fix some bugs in certs.go
2017-03-02 20:51:02 +02:00
Lucas Käldström
5cbefbcbca
kubeadm: Rename --api-advertise-addresses to --apiserver-advertise-address and --api-port to --apiserver-bind-port
2017-03-01 14:33:19 +02:00
Derek McQuay
011629fb5a
kubeadm: change os.Remove to os.RemoveAll
...
This would not correctly clean out the tmp dir, since os.Remove doesn't
recursively remove dirs, which could exist in the tmp dir.
2017-02-06 10:28:44 -08:00
deads2k
5a8f075197
move authoritative client-go utils out of pkg
2017-01-24 08:59:18 -05:00
Lucas Käldström
13499f443a
Generate two certs and two private keys; only the necessary ones; make the certs and kubeconfig phases work with valid files already on-disk and some cleanup
2017-01-21 00:33:06 +02:00
Lucas Käldström
720f3b45aa
Refactor the pki, cert, kubeconfig code in the kubeadm binary into two separate and logically independent phases
2017-01-03 23:40:07 +02:00