Skip to content

Commit 7409e96

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

28 files changed

+167
-657
lines changed

apis/v1alpha1/ack-generate-metadata.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
ack_generate_info:
2-
build_date: "2024-08-29T17:01:49Z"
3-
build_hash: f8f98563404066ac3340db0a049d2e530e5c51cc
4-
go_version: go1.22.5
5-
version: v0.38.1
2+
build_date: "2024-10-10T04:13:17Z"
3+
build_hash: 36c2d234498c2bc4f60773ab8df632af4067f43b
4+
go_version: go1.23.2
5+
version: v0.39.1
66
api_directory_checksum: 93229b2f11a89ef43fc0ef07ea1beb425e9aaf17
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.44.181

config/controller/kustomization.yaml

Lines changed: 1 addition & 1 deletion
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/lambda-controller
9-
newTag: 1.5.2
9+
newTag: 1.5.3

config/crd/bases/lambda.services.k8s.aws_aliases.yaml

Lines changed: 2 additions & 13 deletions
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: aliases.lambda.services.k8s.aws
88
spec:
99
group: lambda.services.k8s.aws
@@ -45,22 +45,18 @@ spec:
4545
description: |-
4646
Configures options for asynchronous invocation on an alias.
4747
48-
4948
- DestinationConfig
5049
A destination for events after they have been sent to a function for processing.
5150
52-
5351
Types of Destinations:
5452
Function - The Amazon Resource Name (ARN) of a Lambda function.
5553
Queue - The ARN of a standard SQS queue.
5654
Topic - The ARN of a standard SNS topic.
5755
Event Bus - The ARN of an Amazon EventBridge event bus.
5856
59-
6057
- MaximumEventAgeInSeconds
6158
The maximum age of a request that Lambda sends to a function for processing.
6259
63-
6460
- MaximumRetryAttempts
6561
The maximum number of times to retry when the function returns an error.
6662
properties:
@@ -98,26 +94,21 @@ spec:
9894
description: |-
9995
The name of the Lambda function.
10096
101-
10297
Name formats
10398
104-
10599
* Function name - MyFunction.
106100
107-
108101
* Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.
109102
110-
111103
* Partial ARN - 123456789012:function:MyFunction.
112104
113-
114105
The length constraint applies only to the full ARN. If you specify only the
115106
function name, it is limited to 64 characters in length.
116107
type: string
117108
functionRef:
118109
description: "AWSResourceReferenceWrapper provides a wrapper around
119110
*AWSResourceReference\ntype to provide more user friendly syntax
120-
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
111+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
121112
\ name: my-api"
122113
properties:
123114
from:
@@ -141,7 +132,6 @@ spec:
141132
description: |-
142133
Configures provisioned concurrency to a function's alias
143134
144-
145135
- ProvisionedConcurrentExecutions
146136
The amount of provisioned concurrency to allocate for the version or alias.
147137
Minimum value of 1 is required
@@ -185,7 +175,6 @@ spec:
185175
when it has verified that an "adopted" resource (a resource where the
186176
ARN annotation was set by the Kubernetes user on the CR) exists and
187177
matches the supplied CR's Spec field values.
188-
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
189178
https://github.com/aws/aws-controllers-k8s/issues/270
190179
type: string
191180
ownerAccountID:

config/crd/bases/lambda.services.k8s.aws_codesigningconfigs.yaml

Lines changed: 1 addition & 3 deletions
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: codesigningconfigs.lambda.services.k8s.aws
88
spec:
99
group: lambda.services.k8s.aws
@@ -40,7 +40,6 @@ spec:
4040
description: |-
4141
CodeSigningConfigSpec defines the desired state of CodeSigningConfig.
4242
43-
4443
Details about a Code signing configuration (https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html).
4544
properties:
4645
allowedPublishers:
@@ -82,7 +81,6 @@ spec:
8281
when it has verified that an "adopted" resource (a resource where the
8382
ARN annotation was set by the Kubernetes user on the CR) exists and
8483
matches the supplied CR's Spec field values.
85-
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
8684
https://github.com/aws/aws-controllers-k8s/issues/270
8785
type: string
8886
ownerAccountID:

config/crd/bases/lambda.services.k8s.aws_eventsourcemappings.yaml

Lines changed: 4 additions & 25 deletions
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: eventsourcemappings.lambda.services.k8s.aws
88
spec:
99
group: lambda.services.k8s.aws
@@ -55,23 +55,17 @@ spec:
5555
the batch to the function in a single call, up to the payload limit for synchronous
5656
invocation (6 MB).
5757
58-
5958
* Amazon Kinesis – Default 100. Max 10,000.
6059
61-
6260
* Amazon DynamoDB Streams – Default 100. Max 10,000.
6361
64-
6562
* Amazon Simple Queue Service – Default 10. For standard queues the
6663
max is 10,000. For FIFO queues the max is 10.
6764
68-
6965
* Amazon Managed Streaming for Apache Kafka – Default 100. Max 10,000.
7066
71-
7267
* Self-managed Apache Kafka – Default 100. Max 10,000.
7368
74-
7569
* Amazon MQ (ActiveMQ and RabbitMQ) – Default 100. Max 10,000.
7670
format: int64
7771
type: integer
@@ -103,32 +97,26 @@ spec:
10397
When true, the event source mapping is active. When false, Lambda pauses
10498
polling and invocation.
10599
106-
107100
Default: True
108101
type: boolean
109102
eventSourceARN:
110103
description: |-
111104
The Amazon Resource Name (ARN) of the event source.
112105
113-
114106
* Amazon Kinesis – The ARN of the data stream or a stream consumer.
115107
116-
117108
* Amazon DynamoDB Streams – The ARN of the stream.
118109
119-
120110
* Amazon Simple Queue Service – The ARN of the queue.
121111
122-
123112
* Amazon Managed Streaming for Apache Kafka – The ARN of the cluster.
124113
125-
126114
* Amazon MQ – The ARN of the broker.
127115
type: string
128116
eventSourceRef:
129117
description: "AWSResourceReferenceWrapper provides a wrapper around
130118
*AWSResourceReference\ntype to provide more user friendly syntax
131-
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
119+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
132120
\ name: my-api"
133121
properties:
134122
from:
@@ -163,29 +151,23 @@ spec:
163151
description: |-
164152
The name of the Lambda function.
165153
166-
167154
Name formats
168155
169-
170156
* Function name – MyFunction.
171157
172-
173158
* Function ARN – arn:aws:lambda:us-west-2:123456789012:function:MyFunction.
174159
175-
176160
* Version or Alias ARN – arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD.
177161
178-
179162
* Partial ARN – 123456789012:function:MyFunction.
180163
181-
182164
The length constraint applies only to the full ARN. If you specify only the
183165
function name, it's limited to 64 characters in length.
184166
type: string
185167
functionRef:
186168
description: "AWSResourceReferenceWrapper provides a wrapper around
187169
*AWSResourceReference\ntype to provide more user friendly syntax
188-
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
170+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
189171
\ name: my-api"
190172
properties:
191173
from:
@@ -212,7 +194,6 @@ spec:
212194
before invoking the function. You can configure MaximumBatchingWindowInSeconds
213195
to any value from 0 seconds to 300 seconds in increments of seconds.
214196
215-
216197
For streams and Amazon SQS event sources, the default batching window is
217198
0 seconds. For Amazon MSK, Self-managed Apache Kafka, and Amazon MQ event
218199
sources, the default batching window is 500 ms. Note that because you can
@@ -221,7 +202,6 @@ spec:
221202
it. To restore the default batching window, you must create a new event source
222203
mapping.
223204
224-
225205
Related setting: For streams and Amazon SQS event sources, when you set BatchSize
226206
to a value greater than 10, you must set MaximumBatchingWindowInSeconds to
227207
at least 1.
@@ -249,7 +229,7 @@ spec:
249229
items:
250230
description: "AWSResourceReferenceWrapper provides a wrapper around
251231
*AWSResourceReference\ntype to provide more user friendly syntax
252-
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
232+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
253233
\ name: my-api"
254234
properties:
255235
from:
@@ -353,7 +333,6 @@ spec:
353333
when it has verified that an "adopted" resource (a resource where the
354334
ARN annotation was set by the Kubernetes user on the CR) exists and
355335
matches the supplied CR's Spec field values.
356-
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
357336
https://github.com/aws/aws-controllers-k8s/issues/270
358337
type: string
359338
ownerAccountID:

config/crd/bases/lambda.services.k8s.aws_functions.yaml

Lines changed: 5 additions & 15 deletions
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: functions.lambda.services.k8s.aws
88
spec:
99
group: lambda.services.k8s.aws
@@ -131,22 +131,18 @@ spec:
131131
description: |-
132132
Configures options for asynchronous invocation on a function.
133133
134-
135134
- DestinationConfig
136135
A destination for events after they have been sent to a function for processing.
137136
138-
139137
Types of Destinations:
140138
Function - The Amazon Resource Name (ARN) of a Lambda function.
141139
Queue - The ARN of a standard SQS queue.
142140
Topic - The ARN of a standard SNS topic.
143141
Event Bus - The ARN of an Amazon EventBridge event bus.
144142
145-
146143
- MaximumEventAgeInSeconds
147144
The maximum age of a request that Lambda sends to a function for processing.
148145
149-
150146
- MaximumRetryAttempts
151147
The maximum number of times to retry when the function returns an error.
152148
properties:
@@ -213,7 +209,7 @@ spec:
213209
kmsKeyRef:
214210
description: "AWSResourceReferenceWrapper provides a wrapper around
215211
*AWSResourceReference\ntype to provide more user friendly syntax
216-
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
212+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
217213
\ name: my-api"
218214
properties:
219215
from:
@@ -246,19 +242,14 @@ spec:
246242
description: |-
247243
The name of the Lambda function.
248244
249-
250245
Name formats
251246
252-
253247
* Function name – my-function.
254248
255-
256249
* Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function.
257250
258-
259251
* Partial ARN – 123456789012:function:my-function.
260252
261-
262253
The length constraint applies only to the full ARN. If you specify only the
263254
function name, it is limited to 64 characters in length.
264255
type: string
@@ -283,7 +274,7 @@ spec:
283274
roleRef:
284275
description: "AWSResourceReferenceWrapper provides a wrapper around
285276
*AWSResourceReference\ntype to provide more user friendly syntax
286-
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
277+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
287278
\ name: my-api"
288279
properties:
289280
from:
@@ -349,7 +340,7 @@ spec:
349340
items:
350341
description: "AWSResourceReferenceWrapper provides a wrapper
351342
around *AWSResourceReference\ntype to provide more user friendly
352-
syntax for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
343+
syntax for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
353344
\ name: my-api"
354345
properties:
355346
from:
@@ -373,7 +364,7 @@ spec:
373364
items:
374365
description: "AWSResourceReferenceWrapper provides a wrapper
375366
around *AWSResourceReference\ntype to provide more user friendly
376-
syntax for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
367+
syntax for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
377368
\ name: my-api"
378369
properties:
379370
from:
@@ -410,7 +401,6 @@ spec:
410401
when it has verified that an "adopted" resource (a resource where the
411402
ARN annotation was set by the Kubernetes user on the CR) exists and
412403
matches the supplied CR's Spec field values.
413-
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
414404
https://github.com/aws/aws-controllers-k8s/issues/270
415405
type: string
416406
ownerAccountID:

config/crd/bases/lambda.services.k8s.aws_functionurlconfigs.yaml

Lines changed: 2 additions & 9 deletions
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: functionurlconfigs.lambda.services.k8s.aws
88
spec:
99
group: lambda.services.k8s.aws
@@ -40,7 +40,6 @@ spec:
4040
description: |-
4141
FunctionUrlConfigSpec defines the desired state of FunctionUrlConfig.
4242
43-
4443
Details about a Lambda function URL.
4544
properties:
4645
authType:
@@ -81,26 +80,21 @@ spec:
8180
description: |-
8281
The name of the Lambda function.
8382
84-
8583
Name formats
8684
87-
8885
* Function name – my-function.
8986
90-
9187
* Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function.
9288
93-
9489
* Partial ARN – 123456789012:function:my-function.
9590
96-
9791
The length constraint applies only to the full ARN. If you specify only the
9892
function name, it is limited to 64 characters in length.
9993
type: string
10094
functionRef:
10195
description: "AWSResourceReferenceWrapper provides a wrapper around
10296
*AWSResourceReference\ntype to provide more user friendly syntax
103-
for references using 'from' field\nEx:\nAPIIDRef:\n\n\n\tfrom:\n\t
97+
for references using 'from' field\nEx:\nAPIIDRef:\n\n\tfrom:\n\t
10498
\ name: my-api"
10599
properties:
106100
from:
@@ -137,7 +131,6 @@ spec:
137131
when it has verified that an "adopted" resource (a resource where the
138132
ARN annotation was set by the Kubernetes user on the CR) exists and
139133
matches the supplied CR's Spec field values.
140-
TODO(vijat@): Find a better strategy for resources that do not have ARN in CreateOutputResponse
141134
https://github.com/aws/aws-controllers-k8s/issues/270
142135
type: string
143136
ownerAccountID:

0 commit comments

Comments
 (0)