Skip to content

Commit 149cd19

Browse files
authored
Update to ACK runtime v0.30.0, code-generator v0.30.0 (#168)
### Update to ACK runtime `v0.30.0`, code-generator `v0.30.0` ---------- * ACK code-generator `v0.30.0` [release notes](https://github.com/aws-controllers-k8s/code-generator/releases/tag/v0.30.0) * ACK runtime `v0.30.0` [release notes](https://github.com/aws-controllers-k8s/runtime/releases/tag/v0.30.0) ---------- NOTE: This PR increments the release version of service controller from `v1.1.10` to `v1.1.11` Once this PR is merged, release `v1.1.11` will be automatically created for `rds-controller` **Please close this PR, if you do not want the new patch release for `rds-controller`** ---------- #### stdout for `make build-controller`: ``` building ack-generate ... ok. ==== building rds-controller ==== Copying common custom resource definitions into rds Building Kubernetes API objects for rds Generating deepcopy code for rds Generating custom resource definitions for rds Building service controller for rds Generating RBAC manifests for rds Running gofmt against generated code for rds Updating additional GitHub repository maintenance files ==== building rds-controller release artifacts ==== Building release artifacts for rds-v1.1.11 Generating common custom resource definitions Generating custom resource definitions for rds Generating RBAC manifests for rds ``` ---------- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 512419a commit 149cd19

34 files changed

+7498
-3678
lines changed

apis/v1alpha1/ack-generate-metadata.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
ack_generate_info:
2-
build_date: "2024-01-29T07:04:13Z"
3-
build_hash: 92f531cde5631865cfc3dfa778cbc9611f3a64c3
4-
go_version: go1.21.5
5-
version: v0.29.2
2+
build_date: "2024-02-14T04:08:17Z"
3+
build_hash: 947081ffebdeefcf2c61c4ca6d7e68810bdf9d08
4+
go_version: go1.22.0
5+
version: v0.30.0
66
api_directory_checksum: ec327bd746176accff503d6ca1306e08a55ac61b
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.44.232

apis/v1alpha1/zz_generated.deepcopy.go

+4-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/controller/kustomization.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ kind: Kustomization
66
images:
77
- name: controller
88
newName: public.ecr.aws/aws-controllers-k8s/rds-controller
9-
newTag: 1.1.10
9+
newTag: 1.1.11

config/crd/bases/rds.services.k8s.aws_dbclusterparametergroups.yaml

+158-75
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.9.2
7-
creationTimestamp: null
6+
controller-gen.kubebuilder.io/version: v0.14.0
87
name: dbclusterparametergroups.rds.services.k8s.aws
98
spec:
109
group: rds.services.k8s.aws
@@ -22,71 +21,146 @@ spec:
2221
API
2322
properties:
2423
apiVersion:
25-
description: 'APIVersion defines the versioned schema of this representation
26-
of an object. Servers should convert recognized schemas to the latest
27-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
24+
description: |-
25+
APIVersion defines the versioned schema of this representation of an object.
26+
Servers should convert recognized schemas to the latest internal value, and
27+
may reject unrecognized values.
28+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
2829
type: string
2930
kind:
30-
description: 'Kind is a string value representing the REST resource this
31-
object represents. Servers may infer this from the endpoint the client
32-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
31+
description: |-
32+
Kind is a string value representing the REST resource this object represents.
33+
Servers may infer this from the endpoint the client submits requests to.
34+
Cannot be updated.
35+
In CamelCase.
36+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
3337
type: string
3438
metadata:
3539
type: object
3640
spec:
37-
description: "DBClusterParameterGroupSpec defines the desired state of
38-
DBClusterParameterGroup. \n Contains the details of an Amazon RDS DB
39-
cluster parameter group. \n This data type is used as a response element
40-
in the DescribeDBClusterParameterGroups action."
41+
description: |-
42+
DBClusterParameterGroupSpec defines the desired state of DBClusterParameterGroup.
43+
44+
45+
Contains the details of an Amazon RDS DB cluster parameter group.
46+
47+
48+
This data type is used as a response element in the DescribeDBClusterParameterGroups
49+
action.
4150
properties:
4251
description:
4352
description: The description for the DB cluster parameter group.
4453
type: string
4554
family:
46-
description: "The DB cluster parameter group family name. A DB cluster
47-
parameter group can be associated with one and only one DB cluster
48-
parameter group family, and can be applied only to a DB cluster
49-
running a database engine and engine version compatible with that
50-
DB cluster parameter group family. \n Aurora MySQL \n Example: aurora5.6,
51-
aurora-mysql5.7, aurora-mysql8.0 \n Aurora PostgreSQL \n Example:
52-
aurora-postgresql9.6 \n RDS for MySQL \n Example: mysql8.0 \n RDS
53-
for PostgreSQL \n Example: postgres12 \n To list all of the available
54-
parameter group families for a DB engine, use the following command:
55-
\n aws rds describe-db-engine-versions --query \"DBEngineVersions[].DBParameterGroupFamily\"
56-
--engine <engine> \n For example, to list all of the available parameter
57-
group families for the Aurora PostgreSQL DB engine, use the following
58-
command: \n aws rds describe-db-engine-versions --query \"DBEngineVersions[].DBParameterGroupFamily\"
59-
--engine aurora-postgresql \n The output contains duplicates. \n
60-
The following are the valid DB engine values: \n * aurora (for MySQL
61-
5.6-compatible Aurora) \n * aurora-mysql (for MySQL 5.7-compatible
62-
and MySQL 8.0-compatible Aurora) \n * aurora-postgresql \n * mysql
63-
\n * postgres"
55+
description: |-
56+
The DB cluster parameter group family name. A DB cluster parameter group
57+
can be associated with one and only one DB cluster parameter group family,
58+
and can be applied only to a DB cluster running a database engine and engine
59+
version compatible with that DB cluster parameter group family.
60+
61+
62+
Aurora MySQL
63+
64+
65+
Example: aurora5.6, aurora-mysql5.7, aurora-mysql8.0
66+
67+
68+
Aurora PostgreSQL
69+
70+
71+
Example: aurora-postgresql9.6
72+
73+
74+
RDS for MySQL
75+
76+
77+
Example: mysql8.0
78+
79+
80+
RDS for PostgreSQL
81+
82+
83+
Example: postgres12
84+
85+
86+
To list all of the available parameter group families for a DB engine, use
87+
the following command:
88+
89+
90+
aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily"
91+
--engine <engine>
92+
93+
94+
For example, to list all of the available parameter group families for the
95+
Aurora PostgreSQL DB engine, use the following command:
96+
97+
98+
aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily"
99+
--engine aurora-postgresql
100+
101+
102+
The output contains duplicates.
103+
104+
105+
The following are the valid DB engine values:
106+
107+
108+
* aurora (for MySQL 5.6-compatible Aurora)
109+
110+
111+
* aurora-mysql (for MySQL 5.7-compatible and MySQL 8.0-compatible Aurora)
112+
113+
114+
* aurora-postgresql
115+
116+
117+
* mysql
118+
119+
120+
* postgres
64121
type: string
65122
name:
66-
description: "The name of the DB cluster parameter group. \n Constraints:
67-
\n * Must not match the name of an existing DB cluster parameter
68-
group. \n This value is stored as a lowercase string."
123+
description: |-
124+
The name of the DB cluster parameter group.
125+
126+
127+
Constraints:
128+
129+
130+
* Must not match the name of an existing DB cluster parameter group.
131+
132+
133+
This value is stored as a lowercase string.
69134
type: string
70135
parameterOverrides:
71136
additionalProperties:
72137
type: string
73138
type: object
74139
parameters:
75-
description: "A list of parameters in the DB cluster parameter group
76-
to modify. \n Valid Values (for the application method): immediate
77-
| pending-reboot \n You can use the immediate value with dynamic
78-
parameters only. You can use the pending-reboot value for both dynamic
79-
and static parameters. \n When the application method is immediate,
80-
changes to dynamic parameters are applied immediately to the DB
81-
clusters associated with the parameter group. When the application
82-
method is pending-reboot, changes to dynamic and static parameters
83-
are applied after a reboot without failover to the DB clusters associated
84-
with the parameter group."
140+
description: |-
141+
A list of parameters in the DB cluster parameter group to modify.
142+
143+
144+
Valid Values (for the application method): immediate | pending-reboot
145+
146+
147+
You can use the immediate value with dynamic parameters only. You can use
148+
the pending-reboot value for both dynamic and static parameters.
149+
150+
151+
When the application method is immediate, changes to dynamic parameters are
152+
applied immediately to the DB clusters associated with the parameter group.
153+
When the application method is pending-reboot, changes to dynamic and static
154+
parameters are applied after a reboot without failover to the DB clusters
155+
associated with the parameter group.
85156
items:
86-
description: "This data type is used as a request parameter in the
87-
ModifyDBParameterGroup and ResetDBParameterGroup actions. \n This
88-
data type is used as a response element in the DescribeEngineDefaultParameters
89-
and DescribeDBParameters actions."
157+
description: |-
158+
This data type is used as a request parameter in the ModifyDBParameterGroup
159+
and ResetDBParameterGroup actions.
160+
161+
162+
This data type is used as a response element in the DescribeEngineDefaultParameters
163+
and DescribeDBParameters actions.
90164
properties:
91165
allowedValues:
92166
type: string
@@ -117,10 +191,12 @@ spec:
117191
tags:
118192
description: Tags to assign to the DB cluster parameter group.
119193
items:
120-
description: "Metadata assigned to an Amazon RDS resource consisting
121-
of a key-value pair. \n For more information, see Tagging Amazon
122-
RDS Resources (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html)
123-
in the Amazon RDS User Guide."
194+
description: |-
195+
Metadata assigned to an Amazon RDS resource consisting of a key-value pair.
196+
197+
198+
For more information, see Tagging Amazon RDS Resources (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html)
199+
in the Amazon RDS User Guide.
124200
properties:
125201
key:
126202
type: string
@@ -138,24 +214,26 @@ spec:
138214
of DBClusterParameterGroup
139215
properties:
140216
ackResourceMetadata:
141-
description: All CRs managed by ACK have a common `Status.ACKResourceMetadata`
142-
member that is used to contain resource sync state, account ownership,
217+
description: |-
218+
All CRs managed by ACK have a common `Status.ACKResourceMetadata` member
219+
that is used to contain resource sync state, account ownership,
143220
constructed ARN for the resource
144221
properties:
145222
arn:
146-
description: 'ARN is the Amazon Resource Name for the resource.
147-
This is a globally-unique identifier and is set only by the
148-
ACK service controller once the controller has orchestrated
149-
the creation of the resource OR when it has verified that an
150-
"adopted" resource (a resource where the ARN annotation was
151-
set by the Kubernetes user on the CR) exists and matches the
152-
supplied CR''s Spec field values. TODO(vijat@): Find a better
153-
strategy for resources that do not have ARN in CreateOutputResponse
154-
https://github.com/aws/aws-controllers-k8s/issues/270'
223+
description: |-
224+
ARN is the Amazon Resource Name for the resource. This is a
225+
globally-unique identifier and is set only by the ACK service controller
226+
once the controller has orchestrated the creation of the resource OR
227+
when it has verified that an "adopted" resource (a resource where the
228+
ARN annotation was set by the Kubernetes user on the CR) exists and
229+
matches the supplied CR's Spec field values.
230+
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
231+
https://github.com/aws/aws-controllers-k8s/issues/270
155232
type: string
156233
ownerAccountID:
157-
description: OwnerAccountID is the AWS Account ID of the account
158-
that owns the backend AWS service API resource.
234+
description: |-
235+
OwnerAccountID is the AWS Account ID of the account that owns the
236+
backend AWS service API resource.
159237
type: string
160238
region:
161239
description: Region is the AWS region in which the resource exists
@@ -166,14 +244,16 @@ spec:
166244
- region
167245
type: object
168246
conditions:
169-
description: All CRS managed by ACK have a common `Status.Conditions`
170-
member that contains a collection of `ackv1alpha1.Condition` objects
171-
that describe the various terminal states of the CR and its backend
172-
AWS service API resource
247+
description: |-
248+
All CRS managed by ACK have a common `Status.Conditions` member that
249+
contains a collection of `ackv1alpha1.Condition` objects that describe
250+
the various terminal states of the CR and its backend AWS service API
251+
resource
173252
items:
174-
description: Condition is the common struct used by all CRDs managed
175-
by ACK service controllers to indicate terminal states of the
176-
CR and its backend AWS service API resource
253+
description: |-
254+
Condition is the common struct used by all CRDs managed by ACK service
255+
controllers to indicate terminal states of the CR and its backend AWS
256+
service API resource
177257
properties:
178258
lastTransitionTime:
179259
description: Last time the condition transitioned from one status
@@ -202,10 +282,13 @@ spec:
202282
description: Provides a list of parameters for the DB cluster parameter
203283
group.
204284
items:
205-
description: "This data type is used as a request parameter in the
206-
ModifyDBParameterGroup and ResetDBParameterGroup actions. \n This
207-
data type is used as a response element in the DescribeEngineDefaultParameters
208-
and DescribeDBParameters actions."
285+
description: |-
286+
This data type is used as a request parameter in the ModifyDBParameterGroup
287+
and ResetDBParameterGroup actions.
288+
289+
290+
This data type is used as a response element in the DescribeEngineDefaultParameters
291+
and DescribeDBParameters actions.
209292
properties:
210293
allowedValues:
211294
type: string

0 commit comments

Comments
 (0)