Skip to content

Commit ddba1f4

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

26 files changed

+163
-493
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-08-29T17:09:09Z"
3-
build_hash: f8f98563404066ac3340db0a049d2e530e5c51cc
4-
go_version: go1.22.5
5-
version: v0.38.1
2+
build_date: "2024-10-10T04:11:34Z"
3+
build_hash: 36c2d234498c2bc4f60773ab8df632af4067f43b
4+
go_version: go1.23.2
5+
version: v0.39.1
66
api_directory_checksum: 019785b4253d8c3d0a71b6df487d7c56375cb0e0
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.44.93

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/memorydb-controller
9-
newTag: 1.0.5
9+
newTag: 1.0.6

config/crd/bases/memorydb.services.k8s.aws_acls.yaml

+2-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.14.0
6+
controller-gen.kubebuilder.io/version: v0.16.2
77
name: acls.memorydb.services.k8s.aws
88
spec:
99
group: memorydb.services.k8s.aws
@@ -40,7 +40,6 @@ spec:
4040
description: |-
4141
ACLSpec defines the desired state of ACL.
4242
43-
4443
An Access Control List. You can authenticate users with Access Contol Lists.
4544
ACLs enable you to control cluster access by grouping users. These Access
4645
control lists are designed as a way to organize access to clusters.
@@ -75,7 +74,7 @@ spec:
7574
items:
7675
description: "AWSResourceReferenceWrapper provides a wrapper around
7776
*AWSResourceReference\ntype to provide more user friendly syntax
78-
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
77+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
7978
\ name: my-api"
8079
properties:
8180
from:
@@ -110,7 +109,6 @@ spec:
110109
when it has verified that an "adopted" resource (a resource where the
111110
ARN annotation was set by the Kubernetes user on the CR) exists and
112111
matches the supplied CR's Spec field values.
113-
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
114112
https://github.com/aws/aws-controllers-k8s/issues/270
115113
type: string
116114
ownerAccountID:

config/crd/bases/memorydb.services.k8s.aws_clusters.yaml

+7-11
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.14.0
6+
controller-gen.kubebuilder.io/version: v0.16.2
77
name: clusters.memorydb.services.k8s.aws
88
spec:
99
group: memorydb.services.k8s.aws
@@ -40,7 +40,6 @@ spec:
4040
description: |-
4141
ClusterSpec defines the desired state of Cluster.
4242
43-
4443
Contains all of the attributes of a specific cluster.
4544
properties:
4645
aclName:
@@ -50,7 +49,7 @@ spec:
5049
aclRef:
5150
description: "AWSResourceReferenceWrapper provides a wrapper around
5251
*AWSResourceReference\ntype to provide more user friendly syntax
53-
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
52+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
5453
\ name: my-api"
5554
properties:
5655
from:
@@ -110,7 +109,7 @@ spec:
110109
parameterGroupRef:
111110
description: "AWSResourceReferenceWrapper provides a wrapper around
112111
*AWSResourceReference\ntype to provide more user friendly syntax
113-
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
112+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
114113
\ name: my-api"
115114
properties:
116115
from:
@@ -138,7 +137,7 @@ spec:
138137
items:
139138
description: "AWSResourceReferenceWrapper provides a wrapper around
140139
*AWSResourceReference\ntype to provide more user friendly syntax
141-
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
140+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
142141
\ name: my-api"
143142
properties:
144143
from:
@@ -169,7 +168,7 @@ spec:
169168
snapshotRef:
170169
description: "AWSResourceReferenceWrapper provides a wrapper around
171170
*AWSResourceReference\ntype to provide more user friendly syntax
172-
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
171+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
173172
\ name: my-api"
174173
properties:
175174
from:
@@ -195,10 +194,8 @@ spec:
195194
The daily time range (in UTC) during which MemoryDB begins taking a daily
196195
snapshot of your shard.
197196
198-
199197
Example: 05:00-09:00
200198
201-
202199
If you do not specify this parameter, MemoryDB automatically chooses an appropriate
203200
time range.
204201
type: string
@@ -210,7 +207,7 @@ spec:
210207
snsTopicRef:
211208
description: "AWSResourceReferenceWrapper provides a wrapper around
212209
*AWSResourceReference\ntype to provide more user friendly syntax
213-
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
210+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
214211
\ name: my-api"
215212
properties:
216213
from:
@@ -230,7 +227,7 @@ spec:
230227
subnetGroupRef:
231228
description: "AWSResourceReferenceWrapper provides a wrapper around
232229
*AWSResourceReference\ntype to provide more user friendly syntax
233-
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
230+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
234231
\ name: my-api"
235232
properties:
236233
from:
@@ -287,7 +284,6 @@ spec:
287284
when it has verified that an "adopted" resource (a resource where the
288285
ARN annotation was set by the Kubernetes user on the CR) exists and
289286
matches the supplied CR's Spec field values.
290-
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
291287
https://github.com/aws/aws-controllers-k8s/issues/270
292288
type: string
293289
ownerAccountID:

config/crd/bases/memorydb.services.k8s.aws_parametergroups.yaml

+1-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.14.0
6+
controller-gen.kubebuilder.io/version: v0.16.2
77
name: parametergroups.memorydb.services.k8s.aws
88
spec:
99
group: memorydb.services.k8s.aws
@@ -40,7 +40,6 @@ spec:
4040
description: |-
4141
ParameterGroupSpec defines the desired state of ParameterGroup.
4242
43-
4443
Represents the output of a CreateParameterGroup operation. A parameter group
4544
represents a combination of specific values for the parameters that are passed
4645
to the engine software during startup.
@@ -110,7 +109,6 @@ spec:
110109
when it has verified that an "adopted" resource (a resource where the
111110
ARN annotation was set by the Kubernetes user on the CR) exists and
112111
matches the supplied CR's Spec field values.
113-
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
114112
https://github.com/aws/aws-controllers-k8s/issues/270
115113
type: string
116114
ownerAccountID:

config/crd/bases/memorydb.services.k8s.aws_snapshots.yaml

+3-5
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.14.0
6+
controller-gen.kubebuilder.io/version: v0.16.2
77
name: snapshots.memorydb.services.k8s.aws
88
spec:
99
group: memorydb.services.k8s.aws
@@ -40,7 +40,6 @@ spec:
4040
description: |-
4141
SnapshotSpec defines the desired state of Snapshot.
4242
43-
4443
Represents a copy of an entire cluster as of the time when the snapshot was
4544
taken.
4645
properties:
@@ -50,7 +49,7 @@ spec:
5049
clusterRef:
5150
description: "AWSResourceReferenceWrapper provides a wrapper around
5251
*AWSResourceReference\ntype to provide more user friendly syntax
53-
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
52+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
5453
\ name: my-api"
5554
properties:
5655
from:
@@ -70,7 +69,7 @@ spec:
7069
kmsKeyRef:
7170
description: "AWSResourceReferenceWrapper provides a wrapper around
7271
*AWSResourceReference\ntype to provide more user friendly syntax
73-
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
72+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
7473
\ name: my-api"
7574
properties:
7675
from:
@@ -129,7 +128,6 @@ spec:
129128
when it has verified that an "adopted" resource (a resource where the
130129
ARN annotation was set by the Kubernetes user on the CR) exists and
131130
matches the supplied CR's Spec field values.
132-
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
133131
https://github.com/aws/aws-controllers-k8s/issues/270
134132
type: string
135133
ownerAccountID:

config/crd/bases/memorydb.services.k8s.aws_subnetgroups.yaml

+2-7
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.14.0
6+
controller-gen.kubebuilder.io/version: v0.16.2
77
name: subnetgroups.memorydb.services.k8s.aws
88
spec:
99
group: memorydb.services.k8s.aws
@@ -40,16 +40,12 @@ spec:
4040
description: |-
4141
SubnetGroupSpec defines the desired state of SubnetGroup.
4242
43-
4443
Represents the output of one of the following operations:
4544
46-
4745
* CreateSubnetGroup
4846
49-
5047
* UpdateSubnetGroup
5148
52-
5349
A subnet group is a collection of subnets (typically private) that you can
5450
designate for your clusters running in an Amazon Virtual Private Cloud (VPC)
5551
environment.
@@ -69,7 +65,7 @@ spec:
6965
items:
7066
description: "AWSResourceReferenceWrapper provides a wrapper around
7167
*AWSResourceReference\ntype to provide more user friendly syntax
72-
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
68+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
7369
\ name: my-api"
7470
properties:
7571
from:
@@ -122,7 +118,6 @@ spec:
122118
when it has verified that an "adopted" resource (a resource where the
123119
ARN annotation was set by the Kubernetes user on the CR) exists and
124120
matches the supplied CR's Spec field values.
125-
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
126121
https://github.com/aws/aws-controllers-k8s/issues/270
127122
type: string
128123
ownerAccountID:

config/crd/bases/memorydb.services.k8s.aws_users.yaml

+1-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.14.0
6+
controller-gen.kubebuilder.io/version: v0.16.2
77
name: users.memorydb.services.k8s.aws
88
spec:
99
group: memorydb.services.k8s.aws
@@ -40,7 +40,6 @@ spec:
4040
description: |-
4141
UserSpec defines the desired state of User.
4242
43-
4443
You create users and assign them specific permissions by using an access
4544
string. You assign the users to Access Control Lists aligned with a specific
4645
role (administrators, human resources) that are then deployed to one or more
@@ -124,7 +123,6 @@ spec:
124123
when it has verified that an "adopted" resource (a resource where the
125124
ARN annotation was set by the Kubernetes user on the CR) exists and
126125
matches the supplied CR's Spec field values.
127-
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
128126
https://github.com/aws/aws-controllers-k8s/issues/270
129127
type: string
130128
ownerAccountID:

config/crd/common/bases/services.k8s.aws_adoptedresources.yaml

+1-6
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.14.0
6+
controller-gen.kubebuilder.io/version: v0.16.2
77
name: adoptedresources.services.k8s.aws
88
spec:
99
group: services.k8s.aws
@@ -78,11 +78,9 @@ spec:
7878
automatically converts this to an arbitrary string-string map.
7979
https://github.com/kubernetes-sigs/controller-tools/issues/385
8080
81-
8281
Active discussion about inclusion of this field in the spec is happening in this PR:
8382
https://github.com/kubernetes-sigs/controller-tools/pull/395
8483
85-
8684
Until this is allowed, or if it never is, we will produce a subset of the object meta
8785
that contains only the fields which the user is allowed to modify in the metadata.
8886
properties:
@@ -105,13 +103,11 @@ spec:
105103
and may be truncated by the length of the suffix required to make the value
106104
unique on the server.
107105
108-
109106
If this field is specified and the generated name exists, the server will
110107
NOT return a 409 - instead, it will either return 201 Created or 500 with Reason
111108
ServerTimeout indicating a unique name could not be found in the time allotted, and the client
112109
should retry (optionally after the time indicated in the Retry-After header).
113110
114-
115111
Applied only if Name is not specified.
116112
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
117113
type: string
@@ -140,7 +136,6 @@ spec:
140136
Not all objects are required to be scoped to a namespace - the value of this field for
141137
those objects will be empty.
142138
143-
144139
Must be a DNS_LABEL.
145140
Cannot be updated.
146141
More info: http://kubernetes.io/docs/user-guide/namespaces

config/crd/common/bases/services.k8s.aws_fieldexports.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.14.0
6+
controller-gen.kubebuilder.io/version: v0.16.2
77
name: fieldexports.services.k8s.aws
88
spec:
99
group: services.k8s.aws

0 commit comments

Comments
 (0)