Skip to content

Commit 2565b17

Browse files
committed
Update min/max for perf data .spec.timespan
1 parent 4af6b94 commit 2565b17

File tree

5 files changed

+19
-19
lines changed

5 files changed

+19
-19
lines changed

api/v1/openlibertyperformancedata_types.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ type OpenLibertyPerformanceDataSpec struct {
1111
// The name of the Pod, which must be in the same namespace as the OpenLibertyPerformanceData CR.
1212
PodName string `json:"podName"`
1313

14-
// The total time, in seconds, for gathering performance data. The minimum value is 60 seconds. Defaults to 240 seconds (4 minutes)
15-
// +kubebuilder:validation:Minimum=60
16-
// +kubebuilder:validation:Maximum=240
14+
// The total time, in seconds, for gathering performance data. The minimum value is 10 seconds. The maximum value is 300 seconds (10 minutes). Defaults to 240 seconds (4 minutes).
15+
// +kubebuilder:validation:Minimum=10
16+
// +kubebuilder:validation:Maximum=600
1717
Timespan *int `json:"timespan,omitempty"`
1818

1919
// The time, in seconds, between executions. The minimum value is 1 second. Defaults to 30 seconds.

bundle/manifests/apps.openliberty.io_openlibertyperformancedata.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,10 @@ spec:
9090
type: string
9191
timespan:
9292
description: The total time, in seconds, for gathering performance
93-
data. The minimum value is 60 seconds. Defaults to 240 seconds (4
94-
minutes)
95-
maximum: 240
96-
minimum: 60
93+
data. The minimum value is 10 seconds. The maximum value is 300
94+
seconds (10 minutes). Defaults to 240 seconds (4 minutes).
95+
maximum: 600
96+
minimum: 10
9797
type: integer
9898
required:
9999
- podName

config/crd/bases/apps.openliberty.io_openlibertyperformancedata.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@ spec:
8686
type: string
8787
timespan:
8888
description: The total time, in seconds, for gathering performance
89-
data. The minimum value is 60 seconds. Defaults to 240 seconds (4
90-
minutes)
91-
maximum: 240
92-
minimum: 60
89+
data. The minimum value is 10 seconds. The maximum value is 300
90+
seconds (10 minutes). Defaults to 240 seconds (4 minutes).
91+
maximum: 600
92+
minimum: 10
9393
type: integer
9494
required:
9595
- podName

internal/deploy/kubectl/openliberty-app-crd.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18446,10 +18446,10 @@ spec:
1844618446
type: string
1844718447
timespan:
1844818448
description: The total time, in seconds, for gathering performance
18449-
data. The minimum value is 60 seconds. Defaults to 240 seconds (4
18450-
minutes)
18451-
maximum: 240
18452-
minimum: 60
18449+
data. The minimum value is 10 seconds. The maximum value is 300
18450+
seconds (10 minutes). Defaults to 240 seconds (4 minutes).
18451+
maximum: 600
18452+
minimum: 10
1845318453
type: integer
1845418454
required:
1845518455
- podName

internal/deploy/kustomize/daily/base/open-liberty-crd.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18446,10 +18446,10 @@ spec:
1844618446
type: string
1844718447
timespan:
1844818448
description: The total time, in seconds, for gathering performance
18449-
data. The minimum value is 60 seconds. Defaults to 240 seconds (4
18450-
minutes)
18451-
maximum: 240
18452-
minimum: 60
18449+
data. The minimum value is 10 seconds. The maximum value is 300
18450+
seconds (10 minutes). Defaults to 240 seconds (4 minutes).
18451+
maximum: 600
18452+
minimum: 10
1845318453
type: integer
1845418454
required:
1845518455
- podName

0 commit comments

Comments
 (0)