Skip to content

Commit 169eace

Browse files
authored
Merge pull request #28 from datawire/rel/v2.0.5
Edge Stack 2.0.5
2 parents 80af09c + 1b8ff77 commit 169eace

13 files changed

+161
-41
lines changed

CHANGELOG.md

+50-13
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,43 @@ Please see the [Envoy documentation](https://www.envoyproxy.io/docs/envoy/latest
7070

7171
## RELEASE NOTES
7272

73+
## [2.0.5] 2021-11-08
74+
[2.0.5]: https://github.com/datawire/edge-stack/releases/v2.0.5
75+
76+
## Ambassador Edge Stack
77+
78+
- Change: When Ambassador Edge Stack makes a cacheable internal request (such as fetching the JWKS endpoint
79+
for a `JWT` `Filter`), if a cache-miss occurs but a request for that resource is already
80+
in-flight, then instead of performing a second request in parallel, it will now wait for the first
81+
request to finish and (if the response is cacheable) use that response. If the response turns out
82+
to be non-cacheable, then it will proceed to make the second request. This avoids the situation
83+
where if a cache entry expires during a moment with high number of concurrent requests, then Edge
84+
Stack creates a deluge of concurrent requests to the resource when one aught to have sufficed;
85+
this allows the result to be returned more quickly while putting less load on the remote resource.
86+
However, if the response turns out to be non-cacheable, then this does effectively serialize
87+
requests, increasing the latency for concurrent requests.
88+
89+
- Feature: It is now possible to set the `circuit_breakers` for `AuthServices`, exactly the same as for
90+
`Mappings` and `TCPMappings`. This makes it possible to configure your `AuthService` to be able to
91+
handle more than 1024 concurrent requests.
92+
93+
- Bugfix: When Ambassador Edge Stack completes an internal request (such as fetching the JWKS endpoint for a
94+
`JWT` `Filter`) it logs (at the `info` log level) how long the request took. Previously, the
95+
duration logged was how long it took to receive the response header, and did not count the time it
96+
takes to receive the entire response body; now it properly times the entire thing. Additionally,
97+
it now separately logs the "total duration" and the "networking duration", in order to make it
98+
possible to identify when a request was delayed waiting for other requests to finish.
99+
100+
- Bugfix: Any token delimited by '%' is now validated agains a whitelist of valid Envoy command operators.
101+
Any mapping containing an `error_response_overrides` section with invalid command operators will
102+
be discarded.
103+
104+
- Bugfix: The `Host` CRD now correctly supports the `mappingSelector` element, as documented. As a
105+
transition aid, `selector` is a synonym for `mappingSelector`; a future version of Ambassador Edge
106+
Stack will remove the `selector` element. ([3902])
107+
108+
[3902]: https://github.com/emissary-ingress/emissary/issues/3902
109+
73110
## [2.0.4] 2021-10-19
74111
[2.0.4]: https://github.com/datawire/edge-stack/releases/v2.0.4
75112

@@ -105,7 +142,7 @@ installations, reduce memory footprint, and improve performance. We welcome feed
105142
- Bugfix: Large configurations no longer cause Ambassador Edge Stack to be unable to communicate with
106143
Ambassador Cloud. ([#3593])
107144

108-
- Bugfix: The `l7Depth` element of the `Listener` CRD is properly supported.
145+
- Bugfix: The `l7Depth` element of the `Listener` CRD is properly supported.
109146

110147
[#3854]: https://github.com/emissary-ingress/emissary/issues/3854
111148
[#3593]: https://github.com/emissary-ingress/emissary/issues/3593
@@ -147,7 +184,7 @@ installations, reduce memory footprint, and improve performance. We welcome feed
147184
- Bugfix: Upgraded envoy to 1.17.4 to address security vulnerabilities CVE-2021-32777, CVE-2021-32778,
148185
CVE-2021-32779, and CVE-2021-32781.
149186

150-
- Feature: You can now set `allow_chunked_length` in the `ambassador` `Module` to configure the same value in
187+
- Feature: You can now set `allow_chunked_length` in the Ambassador Module to configure the same value in
151188
Envoy.
152189

153190
- Change: Envoy-configuration snapshots get saved (as `ambex-#.json`) in `/ambassador/snapshots`. The number
@@ -209,19 +246,19 @@ installations, reduce memory footprint, and improve performance. We welcome feed
209246
changes that are not backwards compatible with the 1.X family. API versions
210247
`getambassador.io/v0`, `getambassador.io/v1`, and `getambassador.io/v2` are deprecated. Further
211248
details are available in the <a
212-
href="about/changes-2.0.0/#1-configuration-api-version-xgetambassadoriov3alpha1">2.0.0 Changes</a>
213-
document.
249+
href="../about/changes-2.0.0/#1-configuration-api-version-getambassadoriov3alpha1">2.0.0
250+
Changes</a> document.
214251

215252
- Feature: The new `AmbassadorListener` CRD defines where and how to listen for requests from the network,
216253
and which `AmbassadorHost` definitions should be used to process those requests. Note that the
217254
`AmbassadorListener` CRD is _mandatory_ and consolidates <i>all</i> port configuration; see the <a
218-
href="topics/running/ambassadorlistener">`AmbassadorListener` documentation</a> for more details.
255+
href="../topics/running/listener">`AmbassadorListener` documentation</a> for more details.
219256

220257
- Feature: Where `AmbassadorMapping`'s `host` field is either an exact match or (with `host_regex` set) a
221258
regex, the new `hostname` element is always a DNS glob. Use `hostname` instead of `host` for best
222259
results.
223260

224-
- Feature: The behavior of the `ambassador` `Module` `prune_unreachable_routes` field is now automatic, which
261+
- Feature: The behavior of the Ambassador module `prune_unreachable_routes` field is now automatic, which
225262
should reduce Envoy memory requirements for installations with many `AmbassadorHost`s
226263

227264
- Bugfix: Each `AmbassadorHost` can specify its `requestPolicy.insecure.action` independently of any other
@@ -246,20 +283,20 @@ installations, reduce memory footprint, and improve performance. We welcome feed
246283
`host` or the `AmbassadorHost`'s `selector` (or both) are explicitly set, and match. This change
247284
can significantly improve Ambassador Edge Stack's memory footprint when many `AmbassadorHost`s are
248285
involved. Further details are available in the <a
249-
href="about/changes-2.0.0/#host-and-mapping-association">2.0.0 Changes</a> document.
286+
href="../about/changes-2.0.0/#host-and-mapping-association">2.0.0 Changes</a> document.
250287

251288
- Change: An `AmbassadorHost` or `Ingress` resource is now required when terminating TLS -- simply creating
252289
a `TLSContext` is not sufficient. Further details are available in the <a
253-
href="about/changes-2.0.0/#host-tlscontext-and-tls-termination">`AmbassadorHost` CRD
290+
href="../about/changes-2.0.0/#host-tlscontext-and-tls-termination">`AmbassadorHost` CRD
254291
documentation.</a>
255292

256293
- Change: By default, Ambassador Edge Stack will configure Envoy using the V3 Envoy API. This change is
257294
mostly transparent to users, but note that Envoy V3 does not support unsafe regular expressions
258295
or, e.g., Zipkin's V1 collector protocol. Further details are available in the <a
259-
href="about/changes-2.0.0">2.0.0 Changes</a> document.
296+
href="../about/changes-2.0.0">2.0.0 Changes</a> document.
260297

261-
- Change: The `tls` module and the `tls` field in the `ambassador` `Module` are no longer supported. Please
262-
use `TLSContext` resources instead.
298+
- Change: The `tls` module and the `tls` field in the Ambassador module are no longer supported. Please use
299+
`TLSContext` resources instead.
263300

264301
- Change: The environment variable `AMBASSADOR_FAST_RECONFIGURE` is now set by default, enabling the
265302
higher-performance implementation of the code that Ambassador Edge Stack uses to generate and
@@ -305,7 +342,7 @@ installations, reduce memory footprint, and improve performance. We welcome feed
305342

306343
- Change: Update from Envoy 1.15 to 1.17.3
307344

308-
- Feature: You can now set `allow_chunked_length` in the `ambassador` `Module` to configure the same value in
345+
- Feature: You can now set `allow_chunked_length` in the Ambassador Module to configure the same value in
309346
Envoy.
310347

311348
- Change: `AMBASSADOR_ENVOY_API_VERSION` now defaults to `V3`
@@ -395,7 +432,7 @@ installations, reduce memory footprint, and improve performance. We welcome feed
395432
## Ambassador Edge Stack
396433

397434
- Security: Incorporate the Envoy 1.15.5 security update by adding the `reject_requests_with_escaped_slashes`
398-
option to the `ambassador` `Module`.
435+
option to the Ambassador module.
399436

400437

401438
## [1.13.3] May 03, 2021

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.0.0-ea
1+
2.0.5

charts/edge-stack/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ numbering uses [semantic versioning](http://semver.org).
77

88
(no changes yet)
99

10+
## v7.1.11
11+
12+
- Update Edge Stack chart image to version v2.0.5: [CHANGELOG](https://github.com/emissary-ingress/emissary/blob/master/CHANGELOG.md)
13+
1014
## v7.1.10
1115

1216
- Switch Edge Stack CRDs to API version `v3alpha1`.

charts/edge-stack/Chart.lock

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dependencies:
22
- name: emissary-ingress
33
repository: https://s3.amazonaws.com/datawire-static-files/charts
4-
version: 7.1.9
5-
digest: sha256:17934bdec6ab3d1362aff3dbedf5029b2276be23ef080d91f39f1b685cf5e721
6-
generated: "2021-10-19T13:03:14.392977-04:00"
4+
version: 7.1.10
5+
digest: sha256:0bafea8bb2d2893a480a1d9ca3715da96e03a297c0f1b2d3d68bd35547199bc4
6+
generated: "2021-11-08T11:38:53.865555-05:00"

charts/edge-stack/Chart.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v2
2-
appVersion: 2.0.4
2+
appVersion: 2.0.5
33
description: A Helm chart for Ambassador Edge Stack
44
name: edge-stack
5-
version: 7.1.10
5+
version: 7.1.11
66
# TODO: change these to whatever the appropriate things are
77
icon: https://www.getambassador.io/images/logo.png
88
home: https://www.getambassador.io/
@@ -27,5 +27,5 @@ maintainers:
2727
engine: gotpl
2828
dependencies:
2929
- name: emissary-ingress
30-
version: v7.1.9
30+
version: v7.1.10
3131
repository: "https://s3.amazonaws.com/datawire-static-files/charts"

0 commit comments

Comments
 (0)