k3s/cmd/kube-apiserver
Davanum Srinivas 31332fa84a Drop using cloud provider to set host address feature
As part of the larger plan to drop --cloud-provider and --cloud-config
from kube-apiserver, we need to stop calling Cloud Provider API to
find the external ip address when one is not specified on the command
line.

When ExternalHost is not specified, we check if AdvertiseAddress is
specified and use that, if that is missing then we use os.Hostname().

When testing this feature, found a problem that when ExternalHost
is specified, the port was not added in the generated URL. So fixed
that as well.
2017-12-05 13:58:20 -06:00
..
app Drop using cloud provider to set host address feature 2017-12-05 13:58:20 -06:00
BUILD update BUILD files 2017-10-15 18:18:13 -07:00
OWNERS kube-apiserver: add myself to OWNERS 2017-06-07 12:43:38 +02:00
apiserver.go apiservers: add synchronous shutdown mechanism on SIGTERM+INT 2017-08-15 09:17:18 +02:00