Unverified Commit 8797db33 authored by k8s-ci-robot's avatar k8s-ci-robot Committed by GitHub

Merge pull request #69827 from tomkukral/kadm-etcd

use etcd endpoints from advertise-client-urls
parents 90245bec a031d035
......@@ -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
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment