Skip to content

Commit 858a2b0

Browse files
authored
[octavia-ingress-controller] Update listener timeouts (kubernetes#2468)
This commit makes sure that listener timeouts are updated when their values are changed on the Ingress resource annotations.
1 parent 8c455f7 commit 858a2b0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pkg/ingress/controller/openstack/octavia.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,11 @@ func (os *OpenStack) EnsureListener(name string, lbID string, secretRefs []strin
367367
} else {
368368
if len(listenerAllowedCIDRs) > 0 && !reflect.DeepEqual(listener.AllowedCIDRs, listenerAllowedCIDRs) {
369369
_, err := listeners.Update(os.Octavia, listener.ID, listeners.UpdateOpts{
370-
AllowedCIDRs: &listenerAllowedCIDRs,
370+
AllowedCIDRs: &listenerAllowedCIDRs,
371+
TimeoutClientData: timeoutClientData,
372+
TimeoutMemberData: timeoutMemberData,
373+
TimeoutMemberConnect: timeoutMemberConnect,
374+
TimeoutTCPInspect: timeoutTCPInspect,
371375
}).Extract()
372376
if err != nil {
373377
return nil, fmt.Errorf("failed to update listener allowed CIDRs: %v", err)

0 commit comments

Comments
 (0)