Skip to content
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

*: Add support for AWS Lambda #10720

Open
wants to merge 26 commits into
base: main
Choose a base branch
from

Conversation

timflannagan
Copy link
Member

@timflannagan timflannagan commented Feb 27, 2025

Description

TODO: Add test case for istio auto-mtls edge case
TODO: Add PR description

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works

Signed-off-by: timflannagan <[email protected]>
@lgadban lgadban linked an issue Feb 28, 2025 that may be closed by this pull request
@timflannagan timflannagan mentioned this pull request Mar 3, 2025
4 tasks
@timflannagan timflannagan mentioned this pull request Mar 3, 2025
4 tasks
// }
tlsContext := &envoyauth.UpstreamTlsContext{
CommonTlsContext: nil,
// TODO(yuval-k): Add verification context
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we add back this TODO (or probably better is creating an issue for it)?

out.ClusterDiscoveryType = &envoy_config_cluster_v3.Cluster_Type{
Type: envoy_config_cluster_v3.Cluster_LOGICAL_DNS,
}
// TODO(yuval-k): why do we need to make sure we use ipv4 only dns?
// TODO(nfuden): Update to reasonable ipv6 https://aws.amazon.com/about-aws/whats-new/2021/12/aws-lambda-ipv6-endpoints-inbound-connections/
out.DnsLookupFamily = envoy_config_cluster_v3.Cluster_V4_ONLY
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should reevaluate this (see removed TODOs above); thoughts @yuval-k ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any idea on what the right value is here? out.DnsLookupFamily = envoy_config_cluster_v3.Cluster_AUTO?

@lgadban
Copy link
Contributor

lgadban commented Mar 4, 2025

Signed-off-by: timflannagan <[email protected]>
@timflannagan
Copy link
Member Author

Not in the current lambda plugin implementation.

@timflannagan
Copy link
Member Author

are these relevant/still needed? https://github.com/kgateway-dev/kgateway/blob/main/internal/kgateway/extensions2/settings/settings.go#L10-L11

@lgadban I'll look into this today some more. I need to read up on how the deployer handled this in the previous impl.

Signed-off-by: timflannagan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement the AWS lambda proposal
3 participants