mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-12-01 13:53:55 +00:00
If we set --external-hostname, then the api server does not look in the CloudProviderOptions.DefaultExternalHost method. While we are at it, let's log an info message, so if there is a failure the operator gets a hint that they can use --external-hostname to bypass the lookup in the cloud provider. This will enable us to set the CLOUD_PROVIDER to openstack for example and not have to really run api server inside a openstack vm.