Commit 4a72b7b
authored
Adding support for
**Summary**:
Adding support to publish `Version` for a `Function`.
**Description**:
This PR adds implementation of AWS Lambda’s `Function Version` feature in the ACK. Function versions allow developers to publish new versions of their Lambda functions while maintaining older versions for backward compatibility or testing purposes. This will allow developers to publish new versions of their lambda functions and manage function updates seamlessly using ACK.
`Version` resource for a Function can be created using following manifest:
```
apiVersion: lambda.services.k8s.aws/v1alpha1
kind: Version
metadata:
name: $VERSION_NAME
annotations:
services.k8s.aws/region: $AWS_REGION
spec:
functionName: $FUNCTION_NAME
codeSHA256: $HASH
revisionID: $REVISION_ID
description: version created by ACK lambda-controller e2e tests
```
The PR supports creation and deletion of `Version` resource. It also includes E2E tests to verify the functionality.
**Acknowledgment**:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.Function version (#113)1 parent 42e502c commit 4a72b7b
File tree
30 files changed
+3419
-9
lines changed- apis/v1alpha1
- cmd/controller
- config
- crd
- bases
- rbac
- helm
- crds
- templates
- pkg/resource/version
- templates/hooks/version
- test/e2e
- resources
- tests
30 files changed
+3419
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
15 | 32 | | |
16 | 33 | | |
17 | 34 | | |
| |||
196 | 213 | | |
197 | 214 | | |
198 | 215 | | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments