Skip to content

Commit 3580e66

Browse files
committed
init
1 parent 1cd2f9c commit 3580e66

21 files changed

+326
-82
lines changed

apis/apps/v1/componentdefinition_types.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1811,10 +1811,14 @@ type Action struct {
18111811

18121812
// Specifies the maximum duration in seconds that the Action is allowed to run.
18131813
//
1814-
// If the Action does not complete within this time frame, it will be terminated.
1814+
// Behavior based on the value:
1815+
// - Positive (> 0): The action will be terminated after this many seconds. The maximum allowed value is 60.
1816+
// - Zero (= 0): The timeout is managed by the system, defaulting to 30 seconds typically.
1817+
// - Negative (< 0): No timeout is applied; the action runs until the command completes.
18151818
//
18161819
// This field cannot be updated.
18171820
//
1821+
// +kubebuilder:validation:Maximum=60
18181822
// +kubebuilder:default=0
18191823
// +optional
18201824
TimeoutSeconds int32 `json:"timeoutSeconds,omitempty"`

config/crd/bases/apps.kubeblocks.io_clusters.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -729,11 +729,15 @@ spec:
729729
Specifies the maximum duration in seconds that the Action is allowed to run.
730730

731731

732-
If the Action does not complete within this time frame, it will be terminated.
732+
Behavior based on the value:
733+
- Positive (> 0): The action will be terminated after this many seconds. The maximum allowed value is 60.
734+
- Zero (= 0): The timeout is managed by the system, defaulting to 30 seconds typically.
735+
- Negative (< 0): No timeout is applied; the action runs until the command completes.
733736

734737

735738
This field cannot be updated.
736739
format: int32
740+
maximum: 60
737741
type: integer
738742
type: object
739743
variables:
@@ -12045,11 +12049,15 @@ spec:
1204512049
Specifies the maximum duration in seconds that the Action is allowed to run.
1204612050

1204712051

12048-
If the Action does not complete within this time frame, it will be terminated.
12052+
Behavior based on the value:
12053+
- Positive (> 0): The action will be terminated after this many seconds. The maximum allowed value is 60.
12054+
- Zero (= 0): The timeout is managed by the system, defaulting to 30 seconds typically.
12055+
- Negative (< 0): No timeout is applied; the action runs until the command completes.
1204912056

1205012057

1205112058
This field cannot be updated.
1205212059
format: int32
12060+
maximum: 60
1205312061
type: integer
1205412062
type: object
1205512063
variables:

config/crd/bases/apps.kubeblocks.io_componentdefinitions.yaml

Lines changed: 65 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4857,11 +4857,15 @@ spec:
48574857
Specifies the maximum duration in seconds that the Action is allowed to run.
48584858

48594859

4860-
If the Action does not complete within this time frame, it will be terminated.
4860+
Behavior based on the value:
4861+
- Positive (> 0): The action will be terminated after this many seconds. The maximum allowed value is 60.
4862+
- Zero (= 0): The timeout is managed by the system, defaulting to 30 seconds typically.
4863+
- Negative (< 0): No timeout is applied; the action runs until the command completes.
48614864

48624865

48634866
This field cannot be updated.
48644867
format: int32
4868+
maximum: 60
48654869
type: integer
48664870
type: object
48674871
availableProbe:
@@ -5314,11 +5318,15 @@ spec:
53145318
Specifies the maximum duration in seconds that the Action is allowed to run.
53155319

53165320

5317-
If the Action does not complete within this time frame, it will be terminated.
5321+
Behavior based on the value:
5322+
- Positive (> 0): The action will be terminated after this many seconds. The maximum allowed value is 60.
5323+
- Zero (= 0): The timeout is managed by the system, defaulting to 30 seconds typically.
5324+
- Negative (< 0): No timeout is applied; the action runs until the command completes.
53185325

53195326

53205327
This field cannot be updated.
53215328
format: int32
5329+
maximum: 60
53225330
type: integer
53235331
type: object
53245332
dataDump:
@@ -5768,11 +5776,15 @@ spec:
57685776
Specifies the maximum duration in seconds that the Action is allowed to run.
57695777

57705778

5771-
If the Action does not complete within this time frame, it will be terminated.
5779+
Behavior based on the value:
5780+
- Positive (> 0): The action will be terminated after this many seconds. The maximum allowed value is 60.
5781+
- Zero (= 0): The timeout is managed by the system, defaulting to 30 seconds typically.
5782+
- Negative (< 0): No timeout is applied; the action runs until the command completes.
57725783

57735784

57745785
This field cannot be updated.
57755786
format: int32
5787+
maximum: 60
57765788
type: integer
57775789
type: object
57785790
dataLoad:
@@ -6215,11 +6227,15 @@ spec:
62156227
Specifies the maximum duration in seconds that the Action is allowed to run.
62166228

62176229

6218-
If the Action does not complete within this time frame, it will be terminated.
6230+
Behavior based on the value:
6231+
- Positive (> 0): The action will be terminated after this many seconds. The maximum allowed value is 60.
6232+
- Zero (= 0): The timeout is managed by the system, defaulting to 30 seconds typically.
6233+
- Negative (< 0): No timeout is applied; the action runs until the command completes.
62196234

62206235

62216236
This field cannot be updated.
62226237
format: int32
6238+
maximum: 60
62236239
type: integer
62246240
type: object
62256241
memberJoin:
@@ -6661,11 +6677,15 @@ spec:
66616677
Specifies the maximum duration in seconds that the Action is allowed to run.
66626678

66636679

6664-
If the Action does not complete within this time frame, it will be terminated.
6680+
Behavior based on the value:
6681+
- Positive (> 0): The action will be terminated after this many seconds. The maximum allowed value is 60.
6682+
- Zero (= 0): The timeout is managed by the system, defaulting to 30 seconds typically.
6683+
- Negative (< 0): No timeout is applied; the action runs until the command completes.
66656684

66666685

66676686
This field cannot be updated.
66686687
format: int32
6688+
maximum: 60
66696689
type: integer
66706690
type: object
66716691
memberLeave:
@@ -7109,11 +7129,15 @@ spec:
71097129
Specifies the maximum duration in seconds that the Action is allowed to run.
71107130

71117131

7112-
If the Action does not complete within this time frame, it will be terminated.
7132+
Behavior based on the value:
7133+
- Positive (> 0): The action will be terminated after this many seconds. The maximum allowed value is 60.
7134+
- Zero (= 0): The timeout is managed by the system, defaulting to 30 seconds typically.
7135+
- Negative (< 0): No timeout is applied; the action runs until the command completes.
71137136

71147137

71157138
This field cannot be updated.
71167139
format: int32
7140+
maximum: 60
71177141
type: integer
71187142
type: object
71197143
postProvision:
@@ -7550,11 +7574,15 @@ spec:
75507574
Specifies the maximum duration in seconds that the Action is allowed to run.
75517575

75527576

7553-
If the Action does not complete within this time frame, it will be terminated.
7577+
Behavior based on the value:
7578+
- Positive (> 0): The action will be terminated after this many seconds. The maximum allowed value is 60.
7579+
- Zero (= 0): The timeout is managed by the system, defaulting to 30 seconds typically.
7580+
- Negative (< 0): No timeout is applied; the action runs until the command completes.
75547581

75557582

75567583
This field cannot be updated.
75577584
format: int32
7585+
maximum: 60
75587586
type: integer
75597587
type: object
75607588
preTerminate:
@@ -7991,11 +8019,15 @@ spec:
79918019
Specifies the maximum duration in seconds that the Action is allowed to run.
79928020

79938021

7994-
If the Action does not complete within this time frame, it will be terminated.
8022+
Behavior based on the value:
8023+
- Positive (> 0): The action will be terminated after this many seconds. The maximum allowed value is 60.
8024+
- Zero (= 0): The timeout is managed by the system, defaulting to 30 seconds typically.
8025+
- Negative (< 0): No timeout is applied; the action runs until the command completes.
79958026

79968027

79978028
This field cannot be updated.
79988029
format: int32
8030+
maximum: 60
79998031
type: integer
80008032
type: object
80018033
readonly:
@@ -8432,11 +8464,15 @@ spec:
84328464
Specifies the maximum duration in seconds that the Action is allowed to run.
84338465

84348466

8435-
If the Action does not complete within this time frame, it will be terminated.
8467+
Behavior based on the value:
8468+
- Positive (> 0): The action will be terminated after this many seconds. The maximum allowed value is 60.
8469+
- Zero (= 0): The timeout is managed by the system, defaulting to 30 seconds typically.
8470+
- Negative (< 0): No timeout is applied; the action runs until the command completes.
84368471

84378472

84388473
This field cannot be updated.
84398474
format: int32
8475+
maximum: 60
84408476
type: integer
84418477
type: object
84428478
readwrite:
@@ -8875,11 +8911,15 @@ spec:
88758911
Specifies the maximum duration in seconds that the Action is allowed to run.
88768912

88778913

8878-
If the Action does not complete within this time frame, it will be terminated.
8914+
Behavior based on the value:
8915+
- Positive (> 0): The action will be terminated after this many seconds. The maximum allowed value is 60.
8916+
- Zero (= 0): The timeout is managed by the system, defaulting to 30 seconds typically.
8917+
- Negative (< 0): No timeout is applied; the action runs until the command completes.
88798918

88808919

88818920
This field cannot be updated.
88828921
format: int32
8922+
maximum: 60
88838923
type: integer
88848924
type: object
88858925
reconfigure:
@@ -9311,11 +9351,15 @@ spec:
93119351
Specifies the maximum duration in seconds that the Action is allowed to run.
93129352

93139353

9314-
If the Action does not complete within this time frame, it will be terminated.
9354+
Behavior based on the value:
9355+
- Positive (> 0): The action will be terminated after this many seconds. The maximum allowed value is 60.
9356+
- Zero (= 0): The timeout is managed by the system, defaulting to 30 seconds typically.
9357+
- Negative (< 0): No timeout is applied; the action runs until the command completes.
93159358

93169359

93179360
This field cannot be updated.
93189361
format: int32
9362+
maximum: 60
93199363
type: integer
93209364
type: object
93219365
roleProbe:
@@ -9787,11 +9831,15 @@ spec:
97879831
Specifies the maximum duration in seconds that the Action is allowed to run.
97889832

97899833

9790-
If the Action does not complete within this time frame, it will be terminated.
9834+
Behavior based on the value:
9835+
- Positive (> 0): The action will be terminated after this many seconds. The maximum allowed value is 60.
9836+
- Zero (= 0): The timeout is managed by the system, defaulting to 30 seconds typically.
9837+
- Negative (< 0): No timeout is applied; the action runs until the command completes.
97919838

97929839

97939840
This field cannot be updated.
97949841
format: int32
9842+
maximum: 60
97959843
type: integer
97969844
type: object
97979845
switchover:
@@ -10239,11 +10287,15 @@ spec:
1023910287
Specifies the maximum duration in seconds that the Action is allowed to run.
1024010288

1024110289

10242-
If the Action does not complete within this time frame, it will be terminated.
10290+
Behavior based on the value:
10291+
- Positive (> 0): The action will be terminated after this many seconds. The maximum allowed value is 60.
10292+
- Zero (= 0): The timeout is managed by the system, defaulting to 30 seconds typically.
10293+
- Negative (< 0): No timeout is applied; the action runs until the command completes.
1024310294

1024410295

1024510296
This field cannot be updated.
1024610297
format: int32
10298+
maximum: 60
1024710299
type: integer
1024810300
type: object
1024910301
type: object

config/crd/bases/apps.kubeblocks.io_components.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,11 +600,15 @@ spec:
600600
Specifies the maximum duration in seconds that the Action is allowed to run.
601601

602602

603-
If the Action does not complete within this time frame, it will be terminated.
603+
Behavior based on the value:
604+
- Positive (> 0): The action will be terminated after this many seconds. The maximum allowed value is 60.
605+
- Zero (= 0): The timeout is managed by the system, defaulting to 30 seconds typically.
606+
- Negative (< 0): No timeout is applied; the action runs until the command completes.
604607

605608

606609
This field cannot be updated.
607610
format: int32
611+
maximum: 60
608612
type: integer
609613
type: object
610614
variables:

config/crd/bases/apps.kubeblocks.io_rollouts.yaml

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -579,11 +579,15 @@ spec:
579579
Specifies the maximum duration in seconds that the Action is allowed to run.
580580

581581

582-
If the Action does not complete within this time frame, it will be terminated.
582+
Behavior based on the value:
583+
- Positive (> 0): The action will be terminated after this many seconds. The maximum allowed value is 60.
584+
- Zero (= 0): The timeout is managed by the system, defaulting to 30 seconds typically.
585+
- Negative (< 0): No timeout is applied; the action runs until the command completes.
583586

584587

585588
This field cannot be updated.
586589
format: int32
590+
maximum: 60
587591
type: integer
588592
type: object
589593
prev:
@@ -1031,11 +1035,15 @@ spec:
10311035
Specifies the maximum duration in seconds that the Action is allowed to run.
10321036

10331037

1034-
If the Action does not complete within this time frame, it will be terminated.
1038+
Behavior based on the value:
1039+
- Positive (> 0): The action will be terminated after this many seconds. The maximum allowed value is 60.
1040+
- Zero (= 0): The timeout is managed by the system, defaulting to 30 seconds typically.
1041+
- Negative (< 0): No timeout is applied; the action runs until the command completes.
10351042

10361043

10371044
This field cannot be updated.
10381045
format: int32
1046+
maximum: 60
10391047
type: integer
10401048
type: object
10411049
type: object
@@ -3964,11 +3972,15 @@ spec:
39643972
Specifies the maximum duration in seconds that the Action is allowed to run.
39653973

39663974

3967-
If the Action does not complete within this time frame, it will be terminated.
3975+
Behavior based on the value:
3976+
- Positive (> 0): The action will be terminated after this many seconds. The maximum allowed value is 60.
3977+
- Zero (= 0): The timeout is managed by the system, defaulting to 30 seconds typically.
3978+
- Negative (< 0): No timeout is applied; the action runs until the command completes.
39683979

39693980

39703981
This field cannot be updated.
39713982
format: int32
3983+
maximum: 60
39723984
type: integer
39733985
type: object
39743986
prev:
@@ -4416,11 +4428,15 @@ spec:
44164428
Specifies the maximum duration in seconds that the Action is allowed to run.
44174429

44184430

4419-
If the Action does not complete within this time frame, it will be terminated.
4431+
Behavior based on the value:
4432+
- Positive (> 0): The action will be terminated after this many seconds. The maximum allowed value is 60.
4433+
- Zero (= 0): The timeout is managed by the system, defaulting to 30 seconds typically.
4434+
- Negative (< 0): No timeout is applied; the action runs until the command completes.
44204435

44214436

44224437
This field cannot be updated.
44234438
format: int32
4439+
maximum: 60
44244440
type: integer
44254441
type: object
44264442
type: object

0 commit comments

Comments
 (0)