Skip to content

Commit 88784c0

Browse files
authored
Update to ACK runtime v0.20.1, code-generator v0.20.1 (#52)
### Update to ACK runtime `v0.20.1`, code-generator `v0.20.1` ---------- * ACK code-generator `v0.20.1` [release notes](https://github.com/aws-controllers-k8s/code-generator/releases/tag/v0.20.1) * ACK runtime `v0.20.1` [release notes](https://github.com/aws-controllers-k8s/runtime/releases/tag/v0.20.1) ---------- NOTE: This PR increments the release version of service controller from `v0.1.1` to `v0.1.2` Once this PR is merged, release `v0.1.2` 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.1.2 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 2b41b1d commit 88784c0

21 files changed

+476
-319
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-09-06T13:10:49Z"
3-
build_hash: 585f06bbd6d4cc1b738acb85901e7a009bf452c7
2+
build_date: "2022-09-12T19:48:02Z"
3+
build_hash: 2944c8772f216656d84ee02d392eaca501274c1e
44
go_version: go1.17.5
5-
version: v0.20.0
6-
api_directory_checksum: 871da9cb72b7c4752be84b24869a5c083c6e80ff
5+
version: v0.20.1
6+
api_directory_checksum: 944b0a250ed0cea5848ac5724812128f74177e8b
77
api_version: v1alpha1
8-
aws_sdk_go_version: v1.44.60
8+
aws_sdk_go_version: v1.44.93
99
generator_config_info:
1010
file_checksum: 5ad03a60a59749711f687c6ffb7b01a5bf7f28e2
1111
original_file_name: generator.yaml

apis/v1alpha1/event_source_mapping.go

Lines changed: 10 additions & 5 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: 27 additions & 11 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: 60 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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: v0.1.1
9+
newTag: v0.1.2

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

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
21
---
32
apiVersion: apiextensions.k8s.io/v1
43
kind: CustomResourceDefinition
54
metadata:
65
annotations:
7-
controller-gen.kubebuilder.io/version: v0.7.0
6+
controller-gen.kubebuilder.io/version: v0.9.2
87
creationTimestamp: null
98
name: codesigningconfigs.lambda.services.k8s.aws
109
spec:
@@ -135,9 +134,3 @@ spec:
135134
storage: true
136135
subresources:
137136
status: {}
138-
status:
139-
acceptedNames:
140-
kind: ""
141-
plural: ""
142-
conditions: []
143-
storedVersions: []

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

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ spec:
3636
spec:
3737
description: EventSourceMappingSpec defines the desired state of EventSourceMapping.
3838
properties:
39+
amazonManagedKafkaEventSourceConfig:
40+
description: Specific configuration settings for an Amazon Managed
41+
Streaming for Apache Kafka (Amazon MSK) event source.
42+
properties:
43+
consumerGroupID:
44+
type: string
45+
type: object
3946
batchSize:
4047
description: "The maximum number of records in each batch that Lambda
4148
pulls from your stream or queue and sends to your function. Lambda
@@ -140,7 +147,7 @@ spec:
140147
maximumRetryAttempts:
141148
description: (Streams only) Discard records after the specified number
142149
of retries. The default value is infinite (-1). When set to infinite
143-
(-1), failed records will be retried until the record expires.
150+
(-1), failed records are retried until the record expires.
144151
format: int64
145152
type: integer
146153
parallelizationFactor:
@@ -155,7 +162,8 @@ spec:
155162
type: string
156163
type: array
157164
selfManagedEventSource:
158-
description: The Self-Managed Apache Kafka cluster to send records.
165+
description: The self-managed Apache Kafka cluster to receive records
166+
from.
159167
properties:
160168
endpoints:
161169
additionalProperties:
@@ -164,6 +172,13 @@ spec:
164172
type: array
165173
type: object
166174
type: object
175+
selfManagedKafkaEventSourceConfig:
176+
description: Specific configuration settings for a self-managed Apache
177+
Kafka event source.
178+
properties:
179+
consumerGroupID:
180+
type: string
181+
type: object
167182
sourceAccessConfigurations:
168183
description: An array of authentication protocols or VPC components
169184
required to secure your event source.
@@ -181,7 +196,7 @@ spec:
181196
startingPosition:
182197
description: The position in a stream from which to start reading.
183198
Required for Amazon Kinesis, Amazon DynamoDB, and Amazon MSK Streams
184-
sources. AT_TIMESTAMP is only supported for Amazon Kinesis streams.
199+
sources. AT_TIMESTAMP is supported only for Amazon Kinesis streams.
185200
type: string
186201
startingPositionTimestamp:
187202
description: With StartingPosition set to AT_TIMESTAMP, the time from
@@ -195,7 +210,7 @@ spec:
195210
type: array
196211
tumblingWindowInSeconds:
197212
description: (Streams only) The duration in seconds of a processing
198-
window. The range is between 1 second up to 900 seconds.
213+
window. The range is between 1 second and 900 seconds.
199214
format: int64
200215
type: integer
201216
type: object

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

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
21
---
32
apiVersion: apiextensions.k8s.io/v1
43
kind: CustomResourceDefinition
54
metadata:
65
annotations:
7-
controller-gen.kubebuilder.io/version: v0.7.0
6+
controller-gen.kubebuilder.io/version: v0.9.2
87
creationTimestamp: null
98
name: functions.lambda.services.k8s.aws
109
spec:
@@ -148,10 +147,10 @@ spec:
148147
type: integer
149148
name:
150149
description: "The name of the Lambda function. \n Name formats \n
151-
\ * Function name - my-function. \n * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
152-
\n * Partial ARN - 123456789012:function:my-function. \n The
153-
length constraint applies only to the full ARN. If you specify only
154-
the function name, it is limited to 64 characters in length."
150+
* Function name - my-function. \n * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
151+
\n * Partial ARN - 123456789012:function:my-function. \n The length
152+
constraint applies only to the full ARN. If you specify only the
153+
function name, it is limited to 64 characters in length."
155154
type: string
156155
packageType:
157156
description: The type of deployment package. Set to Image for container
@@ -378,9 +377,3 @@ spec:
378377
storage: true
379378
subresources:
380379
status: {}
381-
status:
382-
acceptedNames:
383-
kind: ""
384-
plural: ""
385-
conditions: []
386-
storedVersions: []

config/rbac/cluster-role-controller.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
---
32
apiVersion: rbac.authorization.k8s.io/v1
43
kind: ClusterRole

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ module github.com/aws-controllers-k8s/lambda-controller
33
go 1.17
44

55
require (
6-
github.com/aws-controllers-k8s/runtime v0.20.0
7-
github.com/aws/aws-sdk-go v1.44.60
6+
github.com/aws-controllers-k8s/runtime v0.20.1
7+
github.com/aws/aws-sdk-go v1.44.93
88
github.com/go-logr/logr v1.2.0
99
github.com/spf13/pflag v1.0.5
1010
k8s.io/api v0.23.0

0 commit comments

Comments
 (0)