fix for review
This commit is contained in:
parent
456df0fc19
commit
b1fd3b8fc7
2 changed files with 5 additions and 4 deletions
|
@ -525,13 +525,14 @@ func loadService(client Client, namespace string, backend networkingv1.IngressBa
|
|||
|
||||
if svcConfig != nil && svcConfig.Service != nil {
|
||||
svc.LoadBalancer.Sticky = svcConfig.Service.Sticky
|
||||
|
||||
if svcConfig.Service.PassHostHeader != nil {
|
||||
svc.LoadBalancer.PassHostHeader = svcConfig.Service.PassHostHeader
|
||||
}
|
||||
}
|
||||
|
||||
if svcConfig != nil && svcConfig.Service != nil && svcConfig.Service.ServersTransport != "" {
|
||||
svc.LoadBalancer.ServersTransport = svcConfig.Service.ServersTransport
|
||||
if svcConfig.Service.ServersTransport != "" {
|
||||
svc.LoadBalancer.ServersTransport = svcConfig.Service.ServersTransport
|
||||
}
|
||||
}
|
||||
|
||||
if service.Spec.Type == corev1.ServiceTypeExternalName {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue