Merge pull request #69827 from tomkukral/kadm-etcd

use etcd endpoints from advertise-client-urls
pull/58/head
k8s-ci-robot 2018-11-15 17:25:17 -08:00 committed by GitHub
commit 8797db339d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ func getAPIServerCommand(cfg *kubeadmapi.InitConfiguration) []string {
// Apply user configurations for local etcd
if cfg.Etcd.Local != nil {
if value, ok := cfg.Etcd.Local.ExtraArgs["listen-client-urls"]; ok {
if value, ok := cfg.Etcd.Local.ExtraArgs["advertise-client-urls"]; ok {
defaultArguments["etcd-servers"] = value
}
}