mirror of https://github.com/kubernetes/kops.git
Merge pull request #10665 from rudeigerc/fix-loadbalancer
Create default loadbalancer when SSL certificate is specified
This commit is contained in:
commit
3699edcf4f
|
|
@ -963,7 +963,7 @@ func setupAPI(opt *NewClusterOptions, cluster *api.Cluster) error {
|
|||
// in pkg/model/azuremodel/api_loadbalancer.go.
|
||||
cluster.Spec.API = nil
|
||||
return nil
|
||||
} else if opt.APILoadBalancerType != "" {
|
||||
} else if opt.APILoadBalancerType != "" || opt.APISSLCertificate != "" {
|
||||
cluster.Spec.API.LoadBalancer = &api.LoadBalancerAccessSpec{}
|
||||
} else {
|
||||
switch cluster.Spec.Topology.Masters {
|
||||
|
|
|
|||
Loading…
Reference in New Issue