upload and fetch of kubeam config v1alpha3 from cluster

This commit is contained in:
fabriziopandini
2018-09-04 09:09:55 +02:00
parent 62315e88c0
commit 3f70af3685
17 changed files with 1319 additions and 217 deletions

View File

@@ -60,7 +60,9 @@ func GetMasterEndpoint(cfg *kubeadmapi.InitConfiguration) (string, error) {
// if a port is provided within the controlPlaneAddress warn the users we are using it, else use the bindport
if port != "" {
fmt.Println("[endpoint] WARNING: port specified in controlPlaneEndpoint overrides bindPort in the controlplane address")
if port != bindPortString {
fmt.Println("[endpoint] WARNING: port specified in controlPlaneEndpoint overrides bindPort in the controlplane address")
}
} else {
port = bindPortString
}