[EKS] Webhook as a Lambda
- Dominant language
- Shell
- Stars
- 5.4k
- Forks
- 334
- PR merge metrics
- No merged PRs in 30d
Description
We can run webhooks as lambdas instead of a persistence service continually running in cluster.
I would like to add this as a deployment option.
Links for reference:
https://github.com/aws-samples/amazon-api-gateway-mutating-webhook-for-k8
https://github.com/nbrandaleone/eksClient/
https://github.com/kelseyhightower/denyenv-validating-admission-webhook
The webhook pkg just needs to be broken out here:
https://github.com/aws/aws-app-mesh-inject/blob/master/pkg/webhook/server.go#L132
so we can handle http and lambda in the same fashion.
Looking for feedback before I start.
Contributor guide
Research direction
Start with the referenced pkg/webhook/server.go implementation in aws-app-mesh-inject and review the linked API Gateway and EKS webhook examples. Determine how the webhook can support both HTTP and Lambda deployment options, with the deployment option documented and working consistently for both paths.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, kubernetes
- Domain
- backend-api-design, cloud, devops
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100