Skip to content

Commit 83df4af

Browse files
authored
Update ACK runtime to v0.16.4 (#22)
### Update ACK runtime to `v0.16.4` ---------- * ACK code-generator `v0.16.4` [release notes](https://github.com/aws-controllers-k8s/code-generator/releases/tag/v0.16.4) * ACK runtime `v0.16.4` [release notes](https://github.com/aws-controllers-k8s/runtime/releases/tag/v0.16.4) ---------- NOTE: This PR increments the release version of service controller from `v0.0.7` to `v0.0.8` Once this PR is merged, release `v0.0.8` 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-v0.0.8 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 c0f8652 commit 83df4af

26 files changed

+344
-180
lines changed

apis/v1alpha1/ack-generate-metadata.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
ack_generate_info:
2-
build_date: "2022-01-24T20:54:09Z"
3-
build_hash: cccec82a27ddd880095383360df1fdc8f530842f
2+
build_date: "2022-02-02T21:52:15Z"
3+
build_hash: 8f02d7700eaa65a51e99c37d296056def0b70647
44
go_version: go1.17.5
5-
version: v0.16.3
6-
api_directory_checksum: 32108bf51ff23a696a702601b9f30c796b0d42e1
5+
version: v0.16.4
6+
api_directory_checksum: 9701e37aeeaeb7393f499d354f8d6db9130576bb
77
api_version: v1alpha1
8-
aws_sdk_go_version: v1.40.28
8+
aws_sdk_go_version: v1.42.0
99
generator_config_info:
1010
file_checksum: f04b298afa1fd7fd3980226d52412de9ca1523d4
1111
original_file_name: generator.yaml

apis/v1alpha1/enums.go

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/event_source_mapping.go

Lines changed: 15 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/function.go

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/types.go

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/zz_generated.deepcopy.go

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/controller/deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ spec:
6161
drop:
6262
- ALL
6363
terminationGracePeriodSeconds: 10
64+
serviceAccountName: ack-lambda-controller
6465
hostIPC: false
6566
hostNetwork: false
6667
hostPID: false

config/controller/kustomization.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
55
kind: Kustomization
66
images:
77
- name: controller
8-
newName: ack-lambda-controller
9-
newTag: latest
8+
newName: public.ecr.aws/aws-controllers-k8s/lambda-controller
9+
newTag: v0.0.8

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

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,14 @@ spec:
3838
description: EventSourceMappingSpec defines the desired state of EventSourceMapping.
3939
properties:
4040
batchSize:
41-
description: "The maximum number of items to retrieve in a single
42-
batch. \n * Amazon Kinesis - Default 100. Max 10,000. \n *
43-
Amazon DynamoDB Streams - Default 100. Max 1,000. \n * Amazon
44-
Simple Queue Service - Default 10. For standard queues the max is
45-
10,000. For FIFO queues the max is 10. \n * Amazon Managed Streaming
41+
description: "The maximum number of records in each batch that Lambda
42+
pulls from your stream or queue and sends to your function. Lambda
43+
passes all of the records in the batch to the function in a single
44+
call, up to the payload limit for synchronous invocation (6 MB).
45+
\n * Amazon Kinesis - Default 100. Max 10,000. \n * Amazon
46+
DynamoDB Streams - Default 100. Max 1,000. \n * Amazon Simple
47+
Queue Service - Default 10. For standard queues the max is 10,000.
48+
For FIFO queues the max is 10. \n * Amazon Managed Streaming
4649
for Apache Kafka - Default 100. Max 10,000. \n * Self-Managed
4750
Apache Kafka - Default 100. Max 10,000."
4851
format: int64
@@ -69,8 +72,8 @@ spec:
6972
type: object
7073
type: object
7174
enabled:
72-
description: If true, the event source mapping is active. Set to false
73-
to pause polling and invocation.
75+
description: "When true, the event source mapping is active. When
76+
false, Lambda pauses polling and invocation. \n Default: True"
7477
type: boolean
7578
eventSourceARN:
7679
description: "The Amazon Resource Name (ARN) of the event source.
@@ -94,8 +97,11 @@ spec:
9497
type: string
9598
type: array
9699
maximumBatchingWindowInSeconds:
97-
description: (Streams and SQS standard queues) The maximum amount
98-
of time to gather records before invoking the function, in seconds.
100+
description: "(Streams and Amazon SQS standard queues) The maximum
101+
amount of time, in seconds, that Lambda spends gathering records
102+
before invoking the function. \n Default: 0 \n Related setting:
103+
When you set BatchSize to a value greater than 10, you must set
104+
MaximumBatchingWindowInSeconds to at least 1."
99105
format: int64
100106
type: integer
101107
maximumRecordAgeInSeconds:

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ spec:
3636
spec:
3737
description: FunctionSpec defines the desired state of Function.
3838
properties:
39+
architectures:
40+
description: The instruction set architecture that the function supports.
41+
Enter a string array with one of the valid values. The default value
42+
is x86_64.
43+
items:
44+
type: string
45+
type: array
3946
code:
4047
description: The code for the function.
4148
properties:

0 commit comments

Comments
 (0)