Skip to content

Commit a8aacba

Browse files
authored
Update to ACK runtime v0.39.0, code-generator v0.39.1 (#86)
### 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.16` to `v1.0.17` Once this PR is merged, release `v1.0.17` will be automatically created for `apigatewayv2-controller` **Please close this PR, if you do not want the new patch release for `apigatewayv2-controller`** ---------- #### stdout for `make build-controller`: ``` building ack-generate ... ok. ==== building apigatewayv2-controller ==== Copying common custom resource definitions into apigatewayv2 Building Kubernetes API objects for apigatewayv2 Generating deepcopy code for apigatewayv2 Generating custom resource definitions for apigatewayv2 Building service controller for apigatewayv2 Generating RBAC manifests for apigatewayv2 Running gofmt against generated code for apigatewayv2 Updating additional GitHub repository maintenance files ==== building apigatewayv2-controller release artifacts ==== Building release artifacts for apigatewayv2-v1.0.17 Generating common custom resource definitions Generating custom resource definitions for apigatewayv2 Generating RBAC manifests for apigatewayv2 ``` ---------- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 96a82aa commit a8aacba

32 files changed

+179
-559
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-29T16:54:00Z"
3-
build_hash: f8f98563404066ac3340db0a049d2e530e5c51cc
4-
go_version: go1.22.5
5-
version: v0.38.1
2+
build_date: "2024-10-10T03:55:13Z"
3+
build_hash: 36c2d234498c2bc4f60773ab8df632af4067f43b
4+
go_version: go1.23.2
5+
version: v0.39.1
66
api_directory_checksum: 1ec0ec190e4702c6e71245aba52bf8119d32641a
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.49.0

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/apigatewayv2-controller
9-
newTag: 1.0.16
9+
newTag: 1.0.17

config/crd/bases/apigatewayv2.services.k8s.aws_apimappings.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: apimappings.apigatewayv2.services.k8s.aws
88
spec:
99
group: apigatewayv2.services.k8s.aws
@@ -40,7 +40,6 @@ spec:
4040
description: |-
4141
ApiMappingSpec defines the desired state of ApiMapping.
4242
43-
4443
Represents an API mapping.
4544
properties:
4645
apiID:
@@ -50,7 +49,7 @@ spec:
5049
apiRef:
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:
@@ -69,7 +68,7 @@ spec:
6968
domainRef:
7069
description: "AWSResourceReferenceWrapper provides a wrapper around
7170
*AWSResourceReference\ntype to provide more user friendly syntax
72-
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
71+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
7372
\ name: my-api"
7473
properties:
7574
from:
@@ -105,7 +104,6 @@ spec:
105104
when it has verified that an "adopted" resource (a resource where the
106105
ARN annotation was set by the Kubernetes user on the CR) exists and
107106
matches the supplied CR's Spec field values.
108-
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
109107
https://github.com/aws/aws-controllers-k8s/issues/270
110108
type: string
111109
ownerAccountID:

config/crd/bases/apigatewayv2.services.k8s.aws_apis.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: apis.apigatewayv2.services.k8s.aws
88
spec:
99
group: apigatewayv2.services.k8s.aws
@@ -40,7 +40,6 @@ spec:
4040
description: |-
4141
ApiSpec defines the desired state of Api.
4242
43-
4443
Represents an API.
4544
properties:
4645
apiKeySelectionExpression:
@@ -131,7 +130,6 @@ spec:
131130
when it has verified that an "adopted" resource (a resource where the
132131
ARN annotation was set by the Kubernetes user on the CR) exists and
133132
matches the supplied CR's Spec field values.
134-
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
135133
https://github.com/aws/aws-controllers-k8s/issues/270
136134
type: string
137135
ownerAccountID:

config/crd/bases/apigatewayv2.services.k8s.aws_authorizers.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: authorizers.apigatewayv2.services.k8s.aws
88
spec:
99
group: apigatewayv2.services.k8s.aws
@@ -40,15 +40,14 @@ spec:
4040
description: |-
4141
AuthorizerSpec defines the desired state of Authorizer.
4242
43-
4443
Represents an authorizer.
4544
properties:
4645
apiID:
4746
type: string
4847
apiRef:
4948
description: "AWSResourceReferenceWrapper provides a wrapper around
5049
*AWSResourceReference\ntype to provide more user friendly syntax
51-
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
50+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
5251
\ name: my-api"
5352
properties:
5453
from:
@@ -119,7 +118,6 @@ spec:
119118
when it has verified that an "adopted" resource (a resource where the
120119
ARN annotation was set by the Kubernetes user on the CR) exists and
121120
matches the supplied CR's Spec field values.
122-
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
123121
https://github.com/aws/aws-controllers-k8s/issues/270
124122
type: string
125123
ownerAccountID:

config/crd/bases/apigatewayv2.services.k8s.aws_deployments.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: deployments.apigatewayv2.services.k8s.aws
88
spec:
99
group: apigatewayv2.services.k8s.aws
@@ -40,7 +40,6 @@ spec:
4040
description: |-
4141
DeploymentSpec defines the desired state of Deployment.
4242
43-
4443
An immutable representation of an API that can be called by users. A Deployment
4544
must be associated with a Stage for it to be callable over the internet.
4645
properties:
@@ -49,7 +48,7 @@ spec:
4948
apiRef:
5049
description: "AWSResourceReferenceWrapper provides a wrapper around
5150
*AWSResourceReference\ntype to provide more user friendly syntax
52-
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
51+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
5352
\ name: my-api"
5453
properties:
5554
from:
@@ -85,7 +84,6 @@ spec:
8584
when it has verified that an "adopted" resource (a resource where the
8685
ARN annotation was set by the Kubernetes user on the CR) exists and
8786
matches the supplied CR's Spec field values.
88-
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
8987
https://github.com/aws/aws-controllers-k8s/issues/270
9088
type: string
9189
ownerAccountID:

config/crd/bases/apigatewayv2.services.k8s.aws_domainnames.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: domainnames.apigatewayv2.services.k8s.aws
88
spec:
99
group: apigatewayv2.services.k8s.aws
@@ -40,7 +40,6 @@ spec:
4040
description: |-
4141
DomainNameSpec defines the desired state of DomainName.
4242
43-
4443
Represents a domain name.
4544
properties:
4645
domainName:
@@ -106,7 +105,6 @@ spec:
106105
when it has verified that an "adopted" resource (a resource where the
107106
ARN annotation was set by the Kubernetes user on the CR) exists and
108107
matches the supplied CR's Spec field values.
109-
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
110108
https://github.com/aws/aws-controllers-k8s/issues/270
111109
type: string
112110
ownerAccountID:

config/crd/bases/apigatewayv2.services.k8s.aws_integrations.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: integrations.apigatewayv2.services.k8s.aws
88
spec:
99
group: apigatewayv2.services.k8s.aws
@@ -40,15 +40,14 @@ spec:
4040
description: |-
4141
IntegrationSpec defines the desired state of Integration.
4242
43-
4443
Represents an integration.
4544
properties:
4645
apiID:
4746
type: string
4847
apiRef:
4948
description: "AWSResourceReferenceWrapper provides a wrapper around
5049
*AWSResourceReference\ntype to provide more user friendly syntax
51-
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
50+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
5251
\ name: my-api"
5352
properties:
5453
from:
@@ -67,7 +66,7 @@ spec:
6766
connectionRef:
6867
description: "AWSResourceReferenceWrapper provides a wrapper around
6968
*AWSResourceReference\ntype to provide more user friendly syntax
70-
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
69+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
7170
\ name: my-api"
7271
properties:
7372
from:
@@ -150,7 +149,6 @@ spec:
150149
when it has verified that an "adopted" resource (a resource where the
151150
ARN annotation was set by the Kubernetes user on the CR) exists and
152151
matches the supplied CR's Spec field values.
153-
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
154152
https://github.com/aws/aws-controllers-k8s/issues/270
155153
type: string
156154
ownerAccountID:

config/crd/bases/apigatewayv2.services.k8s.aws_routes.yaml

+4-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: routes.apigatewayv2.services.k8s.aws
88
spec:
99
group: apigatewayv2.services.k8s.aws
@@ -40,7 +40,6 @@ spec:
4040
description: |-
4141
RouteSpec defines the desired state of Route.
4242
43-
4443
Represents a route.
4544
properties:
4645
apiID:
@@ -50,7 +49,7 @@ spec:
5049
apiRef:
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:
@@ -75,7 +74,7 @@ spec:
7574
authorizerRef:
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:
@@ -116,7 +115,7 @@ spec:
116115
targetRef:
117116
description: "AWSResourceReferenceWrapper provides a wrapper around
118117
*AWSResourceReference\ntype to provide more user friendly syntax
119-
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
118+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
120119
\ name: my-api"
121120
properties:
122121
from:
@@ -150,7 +149,6 @@ spec:
150149
when it has verified that an "adopted" resource (a resource where the
151150
ARN annotation was set by the Kubernetes user on the CR) exists and
152151
matches the supplied CR's Spec field values.
153-
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
154152
https://github.com/aws/aws-controllers-k8s/issues/270
155153
type: string
156154
ownerAccountID:

config/crd/bases/apigatewayv2.services.k8s.aws_stages.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: stages.apigatewayv2.services.k8s.aws
88
spec:
99
group: apigatewayv2.services.k8s.aws
@@ -40,7 +40,6 @@ spec:
4040
description: |-
4141
StageSpec defines the desired state of Stage.
4242
43-
4443
Represents an API stage.
4544
properties:
4645
accessLogSettings:
@@ -58,7 +57,7 @@ spec:
5857
apiRef:
5958
description: "AWSResourceReferenceWrapper provides a wrapper around
6059
*AWSResourceReference\ntype to provide more user friendly syntax
61-
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
60+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
6261
\ name: my-api"
6362
properties:
6463
from:
@@ -97,7 +96,7 @@ spec:
9796
deploymentRef:
9897
description: "AWSResourceReferenceWrapper provides a wrapper around
9998
*AWSResourceReference\ntype to provide more user friendly syntax
100-
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
99+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
101100
\ name: my-api"
102101
properties:
103102
from:
@@ -161,7 +160,6 @@ spec:
161160
when it has verified that an "adopted" resource (a resource where the
162161
ARN annotation was set by the Kubernetes user on the CR) exists and
163162
matches the supplied CR's Spec field values.
164-
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
165163
https://github.com/aws/aws-controllers-k8s/issues/270
166164
type: string
167165
ownerAccountID:

config/crd/bases/apigatewayv2.services.k8s.aws_vpclinks.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: vpclinks.apigatewayv2.services.k8s.aws
88
spec:
99
group: apigatewayv2.services.k8s.aws
@@ -40,7 +40,6 @@ spec:
4040
description: |-
4141
VpcLinkSpec defines the desired state of VpcLink.
4242
43-
4443
Represents a VPC link.
4544
properties:
4645
name:
@@ -78,7 +77,6 @@ spec:
7877
when it has verified that an "adopted" resource (a resource where the
7978
ARN annotation was set by the Kubernetes user on the CR) exists and
8079
matches the supplied CR's Spec field values.
81-
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
8280
https://github.com/aws/aws-controllers-k8s/issues/270
8381
type: string
8482
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)