Skip to content

Commit

Permalink
Update to ACK runtime v0.30.0, code-generator v0.30.0 (#168)
Browse files Browse the repository at this point in the history
### 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.
  • Loading branch information
ack-bot authored Feb 14, 2024
1 parent 512419a commit 149cd19
Show file tree
Hide file tree
Showing 34 changed files with 7,498 additions and 3,678 deletions.
8 changes: 4 additions & 4 deletions apis/v1alpha1/ack-generate-metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
ack_generate_info:
build_date: "2024-01-29T07:04:13Z"
build_hash: 92f531cde5631865cfc3dfa778cbc9611f3a64c3
go_version: go1.21.5
version: v0.29.2
build_date: "2024-02-14T04:08:17Z"
build_hash: 947081ffebdeefcf2c61c4ca6d7e68810bdf9d08
go_version: go1.22.0
version: v0.30.0
api_directory_checksum: ec327bd746176accff503d6ca1306e08a55ac61b
api_version: v1alpha1
aws_sdk_go_version: v1.44.232
Expand Down
7 changes: 4 additions & 3 deletions apis/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion config/controller/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ kind: Kustomization
images:
- name: controller
newName: public.ecr.aws/aws-controllers-k8s/rds-controller
newTag: 1.1.10
newTag: 1.1.11
233 changes: 158 additions & 75 deletions config/crd/bases/rds.services.k8s.aws_dbclusterparametergroups.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.14.0
name: dbclusterparametergroups.rds.services.k8s.aws
spec:
group: rds.services.k8s.aws
Expand All @@ -22,71 +21,146 @@ spec:
API
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
spec:
description: "DBClusterParameterGroupSpec defines the desired state of
DBClusterParameterGroup. \n Contains the details of an Amazon RDS DB
cluster parameter group. \n This data type is used as a response element
in the DescribeDBClusterParameterGroups action."
description: |-
DBClusterParameterGroupSpec defines the desired state of DBClusterParameterGroup.
Contains the details of an Amazon RDS DB cluster parameter group.
This data type is used as a response element in the DescribeDBClusterParameterGroups
action.
properties:
description:
description: The description for the DB cluster parameter group.
type: string
family:
description: "The DB cluster parameter group family name. A DB cluster
parameter group can be associated with one and only one DB cluster
parameter group family, and can be applied only to a DB cluster
running a database engine and engine version compatible with that
DB cluster parameter group family. \n Aurora MySQL \n Example: aurora5.6,
aurora-mysql5.7, aurora-mysql8.0 \n Aurora PostgreSQL \n Example:
aurora-postgresql9.6 \n RDS for MySQL \n Example: mysql8.0 \n RDS
for PostgreSQL \n Example: postgres12 \n To list all of the available
parameter group families for a DB engine, use the following command:
\n aws rds describe-db-engine-versions --query \"DBEngineVersions[].DBParameterGroupFamily\"
--engine <engine> \n For example, to list all of the available parameter
group families for the Aurora PostgreSQL DB engine, use the following
command: \n aws rds describe-db-engine-versions --query \"DBEngineVersions[].DBParameterGroupFamily\"
--engine aurora-postgresql \n The output contains duplicates. \n
The following are the valid DB engine values: \n * aurora (for MySQL
5.6-compatible Aurora) \n * aurora-mysql (for MySQL 5.7-compatible
and MySQL 8.0-compatible Aurora) \n * aurora-postgresql \n * mysql
\n * postgres"
description: |-
The DB cluster parameter group family name. A DB cluster parameter group
can be associated with one and only one DB cluster parameter group family,
and can be applied only to a DB cluster running a database engine and engine
version compatible with that DB cluster parameter group family.
Aurora MySQL
Example: aurora5.6, aurora-mysql5.7, aurora-mysql8.0
Aurora PostgreSQL
Example: aurora-postgresql9.6
RDS for MySQL
Example: mysql8.0
RDS for PostgreSQL
Example: postgres12
To list all of the available parameter group families for a DB engine, use
the following command:
aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily"
--engine <engine>
For example, to list all of the available parameter group families for the
Aurora PostgreSQL DB engine, use the following command:
aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily"
--engine aurora-postgresql
The output contains duplicates.
The following are the valid DB engine values:
* aurora (for MySQL 5.6-compatible Aurora)
* aurora-mysql (for MySQL 5.7-compatible and MySQL 8.0-compatible Aurora)
* aurora-postgresql
* mysql
* postgres
type: string
name:
description: "The name of the DB cluster parameter group. \n Constraints:
\n * Must not match the name of an existing DB cluster parameter
group. \n This value is stored as a lowercase string."
description: |-
The name of the DB cluster parameter group.
Constraints:
* Must not match the name of an existing DB cluster parameter group.
This value is stored as a lowercase string.
type: string
parameterOverrides:
additionalProperties:
type: string
type: object
parameters:
description: "A list of parameters in the DB cluster parameter group
to modify. \n Valid Values (for the application method): immediate
| pending-reboot \n You can use the immediate value with dynamic
parameters only. You can use the pending-reboot value for both dynamic
and static parameters. \n When the application method is immediate,
changes to dynamic parameters are applied immediately to the DB
clusters associated with the parameter group. When the application
method is pending-reboot, changes to dynamic and static parameters
are applied after a reboot without failover to the DB clusters associated
with the parameter group."
description: |-
A list of parameters in the DB cluster parameter group to modify.
Valid Values (for the application method): immediate | pending-reboot
You can use the immediate value with dynamic parameters only. You can use
the pending-reboot value for both dynamic and static parameters.
When the application method is immediate, changes to dynamic parameters are
applied immediately to the DB clusters associated with the parameter group.
When the application method is pending-reboot, changes to dynamic and static
parameters are applied after a reboot without failover to the DB clusters
associated with the parameter group.
items:
description: "This data type is used as a request parameter in the
ModifyDBParameterGroup and ResetDBParameterGroup actions. \n This
data type is used as a response element in the DescribeEngineDefaultParameters
and DescribeDBParameters actions."
description: |-
This data type is used as a request parameter in the ModifyDBParameterGroup
and ResetDBParameterGroup actions.
This data type is used as a response element in the DescribeEngineDefaultParameters
and DescribeDBParameters actions.
properties:
allowedValues:
type: string
Expand Down Expand Up @@ -117,10 +191,12 @@ spec:
tags:
description: Tags to assign to the DB cluster parameter group.
items:
description: "Metadata assigned to an Amazon RDS resource consisting
of a key-value pair. \n For more information, see Tagging Amazon
RDS Resources (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html)
in the Amazon RDS User Guide."
description: |-
Metadata assigned to an Amazon RDS resource consisting of a key-value pair.
For more information, see Tagging Amazon RDS Resources (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html)
in the Amazon RDS User Guide.
properties:
key:
type: string
Expand All @@ -138,24 +214,26 @@ spec:
of DBClusterParameterGroup
properties:
ackResourceMetadata:
description: All CRs managed by ACK have a common `Status.ACKResourceMetadata`
member that is used to contain resource sync state, account ownership,
description: |-
All CRs managed by ACK have a common `Status.ACKResourceMetadata` member
that is used to contain resource sync state, account ownership,
constructed ARN for the resource
properties:
arn:
description: 'ARN is the Amazon Resource Name for the resource.
This is a globally-unique identifier and is set only by the
ACK service controller once the controller has orchestrated
the creation of the resource OR when it has verified that an
"adopted" resource (a resource where the ARN annotation was
set by the Kubernetes user on the CR) exists and matches the
supplied CR''s Spec field values. TODO(vijat@): Find a better
strategy for resources that do not have ARN in CreateOutputResponse
https://github.com/aws/aws-controllers-k8s/issues/270'
description: |-
ARN is the Amazon Resource Name for the resource. This is a
globally-unique identifier and is set only by the ACK service controller
once the controller has orchestrated the creation of the resource OR
when it has verified that an "adopted" resource (a resource where the
ARN annotation was set by the Kubernetes user on the CR) exists and
matches the supplied CR's Spec field values.
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
https://github.com/aws/aws-controllers-k8s/issues/270
type: string
ownerAccountID:
description: OwnerAccountID is the AWS Account ID of the account
that owns the backend AWS service API resource.
description: |-
OwnerAccountID is the AWS Account ID of the account that owns the
backend AWS service API resource.
type: string
region:
description: Region is the AWS region in which the resource exists
Expand All @@ -166,14 +244,16 @@ spec:
- region
type: object
conditions:
description: All CRS managed by ACK have a common `Status.Conditions`
member that contains a collection of `ackv1alpha1.Condition` objects
that describe the various terminal states of the CR and its backend
AWS service API resource
description: |-
All CRS managed by ACK have a common `Status.Conditions` member that
contains a collection of `ackv1alpha1.Condition` objects that describe
the various terminal states of the CR and its backend AWS service API
resource
items:
description: Condition is the common struct used by all CRDs managed
by ACK service controllers to indicate terminal states of the
CR and its backend AWS service API resource
description: |-
Condition is the common struct used by all CRDs managed by ACK service
controllers to indicate terminal states of the CR and its backend AWS
service API resource
properties:
lastTransitionTime:
description: Last time the condition transitioned from one status
Expand Down Expand Up @@ -202,10 +282,13 @@ spec:
description: Provides a list of parameters for the DB cluster parameter
group.
items:
description: "This data type is used as a request parameter in the
ModifyDBParameterGroup and ResetDBParameterGroup actions. \n This
data type is used as a response element in the DescribeEngineDefaultParameters
and DescribeDBParameters actions."
description: |-
This data type is used as a request parameter in the ModifyDBParameterGroup
and ResetDBParameterGroup actions.
This data type is used as a response element in the DescribeEngineDefaultParameters
and DescribeDBParameters actions.
properties:
allowedValues:
type: string
Expand Down
Loading

0 comments on commit 149cd19

Please sign in to comment.