k3s/cmd/kubeadm/app
Daneyon Hansen 3390bc3cbc Updates Kubeadm Master Endpoint for IPv6
Previously, kubeadm would use <ip>:<port> to construct a master
endpoint. This works fine for IPv4 addresses, but not for IPv6.
IPv6 requires the ip to be encased in brackets when being joined
to a port with a colon.

This patch updates kubeadm to support wrapping a v6 address with
[] to form the master endpoint url. Since this functionality is
needed in multiple areas, a dedicated util function was created.

Fixes: https://github.com/kubernetes/kubernetes/issues/48227
2017-08-17 10:57:54 -07:00
..
apis/kubeadm Updates Kubeadm Master Endpoint for IPv6 2017-08-17 10:57:54 -07:00
cmd Updates Kubeadm Master Endpoint for IPv6 2017-08-17 10:57:54 -07:00
constants kubeadm: Centralize client create-or-update logic in one package 2017-08-15 15:52:37 +03:00
discovery Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
images Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
node Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
phases Updates Kubeadm Master Endpoint for IPv6 2017-08-17 10:57:54 -07:00
preflight Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
util Updates Kubeadm Master Endpoint for IPv6 2017-08-17 10:57:54 -07:00
BUILD Merge pull request #50302 from fabriziopandini/kubeadm-phases-controlplane2 2017-08-14 20:35:14 -07:00
kubeadm.go Refactor the whole binary, a lot of changes in one commit I know, but I just hacked on this and modified everything I thought was messy or could be done better. 2016-12-09 12:48:12 +02:00