File tree Expand file tree Collapse file tree 5 files changed +25
-3
lines changed Expand file tree Collapse file tree 5 files changed +25
-3
lines changed Original file line number Diff line number Diff line change 1
1
ack_generate_info :
2
- build_date : " 2022-06-02T18:10:06Z "
2
+ build_date : " 2022-06-08T02:04:16Z "
3
3
build_hash : 6acf40fe3e3cfd97b799ef7cbf1e89e01c3db8f7
4
4
go_version : go1.18.2
5
5
version : v0.18.4-15-g6acf40f
6
- api_directory_checksum : f8a740e73423e911df6a1b5fbcb9fbbb03cd9899
6
+ api_directory_checksum : 4bdcfc19ab3ec6ae11525e6eb3a201e4a25b00fa
7
7
api_version : v1alpha1
8
8
aws_sdk_go_version : v1.42.0
9
9
generator_config_info :
10
- file_checksum : c9f1d6ca4596ac8e84312495f50a8b901843744f
10
+ file_checksum : a014f16db9e990ad756052e50cbce7d0d9b84c0b
11
11
original_file_name : generator.yaml
12
12
last_modification :
13
13
reason : API generation
Original file line number Diff line number Diff line change @@ -35,6 +35,11 @@ operations:
35
35
# makes to a resource's Spec to be reconciled by the ACK service
36
36
# controller, not a different service.
37
37
ApplyImmediately : true
38
+ # We override the value of AllowMajorVersionUpgrade field in the modify
39
+ # call since any engine version change should apply directly.
40
+ # This flag was designed as a protect flag but not necessary in controller
41
+ # side when customer need to make the engine version change
42
+ AllowMajorVersionUpgrade : true
38
43
DeleteDBCluster :
39
44
override_values :
40
45
# Clearly this is not ideal, but will suffice until we add custom hook
@@ -55,6 +60,11 @@ operations:
55
60
# makes to a resource's Spec to be reconciled by the ACK service
56
61
# controller, not a different service.
57
62
ApplyImmediately : true
63
+ # We override the value of the ApplyImmediately field in the modify
64
+ # operations to "true" because we want changes that a Kubernetes user
65
+ # makes to a resource's Spec to be reconciled by the ACK service
66
+ # controller, not a different service.
67
+ AllowMajorVersionUpgrade : true
58
68
DeleteDBInstance :
59
69
override_values :
60
70
# Clearly this is not ideal, but will suffice until we add custom hook
Original file line number Diff line number Diff line change @@ -35,6 +35,11 @@ operations:
35
35
# makes to a resource's Spec to be reconciled by the ACK service
36
36
# controller, not a different service.
37
37
ApplyImmediately : true
38
+ # We override the value of AllowMajorVersionUpgrade field in the modify
39
+ # call since any engine version change should apply directly.
40
+ # This flag was designed as a protect flag but not necessary in controller
41
+ # side when customer need to make the engine version change
42
+ AllowMajorVersionUpgrade : true
38
43
DeleteDBCluster :
39
44
override_values :
40
45
# Clearly this is not ideal, but will suffice until we add custom hook
@@ -55,6 +60,11 @@ operations:
55
60
# makes to a resource's Spec to be reconciled by the ACK service
56
61
# controller, not a different service.
57
62
ApplyImmediately : true
63
+ # We override the value of the ApplyImmediately field in the modify
64
+ # operations to "true" because we want changes that a Kubernetes user
65
+ # makes to a resource's Spec to be reconciled by the ACK service
66
+ # controller, not a different service.
67
+ AllowMajorVersionUpgrade : true
58
68
DeleteDBInstance :
59
69
override_values :
60
70
# Clearly this is not ideal, but will suffice until we add custom hook
Original file line number Diff line number Diff line change @@ -542,6 +542,7 @@ func (rm *resourceManager) newCustomUpdateRequestPayload(
542
542
res := & svcsdk.ModifyDBClusterInput {}
543
543
544
544
res .SetApplyImmediately (true )
545
+ res .SetAllowMajorVersionUpgrade (true )
545
546
if r .ko .Spec .BacktrackWindow != nil && delta .DifferentAt ("Spec.BacktrackWindow" ) {
546
547
res .SetBacktrackWindow (* r .ko .Spec .BacktrackWindow )
547
548
}
You can’t perform that action at this time.
0 commit comments