Skip to content

Commit 4b03c11

Browse files
authored
Aws lambda 429 fix (#10701)
1 parent bd1f1e8 commit 4b03c11

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ SOURCES := $(shell find . -name "*.go" | grep -v test.go)
5454
# for more information, see https://github.com/solo-io/gloo/pull/9633
5555
# and
5656
# https://soloio.slab.com/posts/extended-http-methods-design-doc-40j7pjeu
57-
ENVOY_GLOO_IMAGE ?= quay.io/solo-io/envoy-gloo:1.32.3-patch2
57+
ENVOY_GLOO_IMAGE ?= quay.io/solo-io/envoy-gloo:1.33.0-patch2
5858
LDFLAGS := "-X github.com/solo-io/gloo/pkg/version.Version=$(VERSION)"
5959
GCFLAGS ?=
6060

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
changelog:
2+
- type: DEPENDENCY_BUMP
3+
dependencyOwner: solo-io
4+
dependencyRepo: envoy-gloo
5+
dependencyTag: v1.33.0-patch2
6+
issueLink: https://github.com/solo-io/solo-projects/issues/7787
7+
- type: FIX
8+
issueLink: https://github.com/kgateway-dev/kgateway/issues/10192
9+
resolvesIssue: true
10+
description: >-
11+
Previously, Gloo did not provide any means to determine whether a request
12+
to an AWS Lambda upstream was rate-limited. With this fix, if the AWS
13+
Lambda upstream responds to Gloo with a HTTP 429, Gloo will return an
14+
HTTP 500 response to the client and set the
15+
`x-envoygloo-lambda-statuscode` and `x-envoygloo-lambda-statusreason`
16+
headers. The `statuscode` header will be set to `429` to indicate the
17+
value received from the Lambda upstream, and the `statusreason` header
18+
will be set as described in the
19+
[Lambda
20+
documentation](https://docs.aws.amazon.com/lambda/latest/api/API_Invoke.html)).

0 commit comments

Comments
 (0)