Skip to content

Commit

Permalink
operator/ingress: Add ELB connection idle timeout
Browse files Browse the repository at this point in the history
* operator/v1/types_ingress.go (AWSClassicLoadBalancerParameters): Add
ConnectionIdleTimeoutSeconds field.
* operator/v1/0000_50_ingress-operator_00-ingresscontroller.crd.yaml:
* operator/v1/zz_generated.swagger_doc_generated.go: Regenerate.
  • Loading branch information
Miciah committed Apr 6, 2022
1 parent c689b39 commit 5cc1aaf
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
18 changes: 18 additions & 0 deletions operator/v1/0000_50_ingress-operator_00-ingresscontroller.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,15 @@ spec:
description: classicLoadBalancerParameters holds configuration
parameters for an AWS classic load balancer. Present
only if type is Classic.
properties:
connectionIdleTimeoutSeconds:
description: connectionIdleTimeoutSeconds is the
time interval, in seconds, that a connection
may be idle before the load balancer closes
the connection. If not set, the timeout defaults
to 60 seconds.
format: int64
type: integer
type: object
networkLoadBalancer:
description: networkLoadBalancerParameters holds configuration
Expand Down Expand Up @@ -1398,6 +1407,15 @@ spec:
description: classicLoadBalancerParameters holds configuration
parameters for an AWS classic load balancer. Present
only if type is Classic.
properties:
connectionIdleTimeoutSeconds:
description: connectionIdleTimeoutSeconds is the
time interval, in seconds, that a connection
may be idle before the load balancer closes
the connection. If not set, the timeout defaults
to 60 seconds.
format: int64
type: integer
type: object
networkLoadBalancer:
description: networkLoadBalancerParameters holds configuration
Expand Down
7 changes: 7 additions & 0 deletions operator/v1/types_ingress.go
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,13 @@ const (
// AWSClassicLoadBalancerParameters holds configuration parameters for an
// AWS Classic load balancer.
type AWSClassicLoadBalancerParameters struct {
// connectionIdleTimeoutSeconds is the time interval, in seconds, that a
// connection may be idle before the load balancer closes the
// connection. If not set, the timeout defaults to 60 seconds.
//
// +kubebuilder:validation:Optional
// +optional
ConnectionIdleTimeoutSeconds uint64 `json:"connectionIdleTimeoutSeconds"`
}

// AWSNetworkLoadBalancerParameters holds configuration parameters for an
Expand Down
3 changes: 2 additions & 1 deletion operator/v1/zz_generated.swagger_doc_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5cc1aaf

Please sign in to comment.