fix: connect the --bind-address arg to the cfg.apiserver.address option

This commit is contained in:
Geoffrey Huntley
2018-05-28 18:07:06 +02:00
committed by Robin Gloster
parent 0b6c2cfc4d
commit f607f01b70
@@ -906,7 +906,7 @@ in {
${optionalString (cfg.etcd.keyFile != null)
"--etcd-keyfile=${cfg.etcd.keyFile}"} \
--insecure-port=${toString cfg.apiserver.port} \
--bind-address=0.0.0.0 \
--bind-address=${toString cfg.apiserver.address} \
${optionalString (cfg.apiserver.advertiseAddress != null)
"--advertise-address=${cfg.apiserver.advertiseAddress}"} \
--allow-privileged=${boolToString cfg.apiserver.allowPrivileged}\