-
Notifications
You must be signed in to change notification settings - Fork 25
Prevent GetFunctionCodeSigningConfig
calls when a functions packageType is Image
#21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like to see an e2e test added that stresses this code path please! :)
@a-hilaly where do we stand with this PR? :) |
This PR will need more work than expected. We will need proper support for Images based lambda functions (Initializers, custom hooks and proper e2e for it). |
/hold |
911b61e
to
2f08b31
Compare
0678a82
to
255650e
Compare
/retest |
Do you know the timeline for this to be merged? We switched to using image based Function because currently S3 Key change updates are not supported. |
@gagan-eg very soon :) |
/retest |
/test lambda-kind-e2e |
@a-hilaly looking at the failure in the e2e test, I think you need to add terminal codes to the |
b25dcbb
to
cda221d
Compare
/retest |
1 similar comment
/retest |
54941f8
to
4b241ff
Compare
…en a functions packageType is `Image` Functions code signing config should only be called when a function is created using an s3bucket and a key. Functions created using a container image cannot get a code signing configuration.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really nice work on this, @a-hilaly 👍
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: A-Hilaly, jaypipes, vijtrip2 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
### Update ACK runtime to `v0.14.1` #### stdout for `make build-controller`: ``` building ack-generate ... ok. ==== building mq-controller ==== Copying common custom resource definitions into mq Building Kubernetes API objects for mq Generating deepcopy code for mq Generating custom resource definitions for mq Building service controller for mq Generating RBAC manifests for mq Running gofmt against generated code for mq Updating additional GitHub repository maintenance files ==== building mq-controller release artifacts ==== Building release artifacts for mq-v0.0.5 Generating common custom resource definitions Generating custom resource definitions for mq Generating RBAC manifests for mq ``` By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Issue #, if available: aws-controllers-k8s/community#1117
Description of changes:
Functions code signing config should only be called when a function is
created using an s3bucket and a key. Functions created using a container
image cannot get a code signing configuration.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.