Merge pull request #14907 from johngmyers/apiserver-addlips

APIServer nodes also need apiserverAdditionalIPs
This commit is contained in:
Kubernetes Prow Robot 2022-12-30 00:35:38 -08:00 committed by GitHub
commit e76a68356e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1400,7 +1400,7 @@ func (n *nodeUpConfigBuilder) BuildConfig(ig *kops.InstanceGroup, apiserverAddit
}
}
if isMaster {
if hasAPIServer {
config.ApiserverAdditionalIPs = apiserverAdditionalIPs
}