Skip to content

Commit a6b36b5

Browse files
Merge pull request #2591 from alebedev87/OCPBUGS-61858-http-keep-alive-timeout-pointer
OCPBUGS-61858: Use pointer type for HTTPKeepAliveTimeout in IngressController API
2 parents 916c700 + 8542335 commit a6b36b5

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

operator/v1/types_ingress.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1912,7 +1912,7 @@ type IngressControllerTuningOptions struct {
19121912
// +kubebuilder:validation:MinLength=1
19131913
// +kubebuilder:validation:MaxLength=16
19141914
// +optional
1915-
HTTPKeepAliveTimeout metav1.Duration `json:"httpKeepAliveTimeout,omitempty"`
1915+
HTTPKeepAliveTimeout *metav1.Duration `json:"httpKeepAliveTimeout,omitempty"`
19161916

19171917
// tlsInspectDelay defines how long the router can hold data to find a
19181918
// matching route.

operator/v1/zz_generated.deepcopy.go

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)