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

This commit is contained in:
Geoffrey Huntley 2018-05-24 20:06:13 +10:00 committed by Robin Gloster
parent 0b6c2cfc4d
commit f607f01b70

View File

@ -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}\