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 Sep 1, 2020
1 parent 8a3a835 commit 555200e
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 @@ -112,6 +112,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 @@ -898,6 +907,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 @@ -347,6 +347,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 555200e

Please sign in to comment.