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

[2.0] Misc fixups noticed when looking at the 1.14 merge #3860

Merged
merged 5 commits into from
Oct 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ the default for all 1.X releases of Emissary-ingress.

This change is being made the original Envay `regex` matcher was [deprecated in favor of safe_regex]
in Envoy v1.12.0, then removed entirely from the Envoy V3 APIs. Additionally, setting
[max_program_size was deprecated] in Envoy v1.15.0. As such, `regex_type: unsafe` and setting
[max_program_size was deprecated] in Envoy v1.15.0. As such, `regex_type: unsafe` and setting
`regex_max_size` are no longer supported unless `AMBASSADOR_ENVOY_API_VERSION` is set to `V2`.

Please see the [Envoy documentation](https://www.envoyproxy.io/docs/envoy/latest/api-v3/type/matcher/v3/regex.proto.html) for more information.
Expand Down Expand Up @@ -88,7 +88,7 @@ larger installations, reduce global configuration to better handle multitenant o
multiorganizational installations, reduce memory footprint, and improve performance. We welcome
feedback!! Join us on <a href="https://a8r.io/slack">Slack</a> and let us know what you think.

## Emissary-ingress
### Emissary-ingress

- Change: The `x.getambassador.io/v3alpha1` API version has become the `getambassador.io/v3alpha1` API
version. The `Ambassador-` prefixes from `x.getambassador.io/v3alpha1` resources have been removed
Expand All @@ -113,7 +113,7 @@ installations, reduce global configuration to better handle multitenant or multi
installations, reduce memory footprint, and improve performance. We welcome feedback!! Join us on
<a href="https://a8r.io/slack">Slack</a> and let us know what you think.

## Emissary-ingress
### Emissary-ingress

- Feature: The environment variable `AES_LOG_LEVEL` now also sets the log level for the `diagd` logger. ([#3686]) ([#3666])

Expand All @@ -136,7 +136,7 @@ installations, reduce global configuration to better handle multitenant or multi
installations, reduce memory footprint, and improve performance. We welcome feedback!! Join us on
<a href="https://a8r.io/slack">Slack</a> and let us know what you think.

## Emissary-ingress
### Emissary-ingress

- Bugfix: Upgraded envoy to 1.17.4 to address security vulnerabilities CVE-2021-32777, CVE-2021-32778,
CVE-2021-32779, and CVE-2021-32781.
Expand All @@ -157,7 +157,7 @@ installations, reduce global configuration to better handle multitenant or multi
installations, reduce memory footprint, and improve performance. We welcome feedback!! Join us on
<a href="https://a8r.io/slack">Slack</a> and let us know what you think.

## Emissary-ingress
### Emissary-ingress

- Feature: Ambassador Agent reports sidecar process information and `AmbassadorMapping` OpenAPI documentation
to Ambassador Cloud to provide more visibility into services and clusters.
Expand Down Expand Up @@ -188,7 +188,7 @@ installations, reduce global configuration to better handle multitenant or multi
installations, reduce memory footprint, and improve performance. We welcome feedback!! Join us on
<a href="https://a8r.io/slack">Slack</a> and let us know what you think.

## Emissary-ingress
### Emissary-ingress

- Feature: Emissary-ingress 2.0.0 introduces API version `x.getambassador.io/v3alpha1` for configuration
changes that are not backwards compatible with the 1.X family. API versions
Expand Down Expand Up @@ -260,7 +260,7 @@ installations, reduce memory footprint, and improve performance. We welcome feed
## [1.14.2] 2021-09-27
[1.14.2]: https://github.com/emissary-ingress/emissary/releases/v1.14.2

## Emissary-ingress
### Emissary-ingress

- Feature: You can now set `respect_dns_ttl` to `true` to force the DNS refresh rate for a `Mapping` to be
set to the record's TTL obtained from DNS resolution.
Expand All @@ -274,15 +274,15 @@ installations, reduce memory footprint, and improve performance. We welcome feed
## [1.14.1] 2021-08-24
[1.14.1]: https://github.com/emissary-ingress/emissary/releases/v1.14.1

## Emissary-ingress
### Emissary-ingress

- Change: Upgraded envoy to 1.17.4 to address security vulnerabilities CVE-2021-32777, CVE-2021-32778,
CVE-2021-32779, and CVE-2021-32781.

## [1.14.0] 2021-08-19
[1.14.0]: https://github.com/emissary-ingress/emissary/releases/v1.14.0

## Emissary-ingress
### Emissary-ingress

- Change: Upgraded Envoy from 1.15 to 1.17.3, see the <a
href="https://www.envoyproxy.io/docs/envoy/latest/version_history/version_history">Envoy
Expand All @@ -299,7 +299,7 @@ installations, reduce memory footprint, and improve performance. We welcome feed
## [1.13.10] 2021-07-27
[1.13.10]: https://github.com/emissary-ingress/emissary/releases/v1.13.10

## Emissary-ingress
### Emissary-ingress

- Bugfix: Fixed a regression when specifying a comma separated string for `cors.origins` on the `Mapping`
resource
Expand All @@ -315,15 +315,15 @@ installations, reduce memory footprint, and improve performance. We welcome feed
## [1.13.9] 2021-06-30
[1.13.9]: https://github.com/emissary-ingress/emissary/releases/v1.13.9

## Emissary-ingress
### Emissary-ingress

- Bugfix: Fixed a bug which caused Emissary-ingress to generate invalid Envoy configuration when two
TCPMappings were deployed with the same port, but different host.

## [1.13.8] 2021-06-08
[1.13.8]: https://github.com/emissary-ingress/emissary/releases/v1.13.8

## Emissary-ingress
### Emissary-ingress

- Bugfix: Fixed a bug that occasionally caused missing version information for a service in the Ambassador
Service Catalog, especially in clusters with high pod churn.
Expand All @@ -334,7 +334,7 @@ installations, reduce memory footprint, and improve performance. We welcome feed
## [1.13.7] 2021-06-03
[1.13.7]: https://github.com/emissary-ingress/emissary/releases/v1.13.7

## Emissary-ingress
### Emissary-ingress

- Feature: An `AMBASSADOR_JSON_LOGGING` environment variable has been added. When set to `true` JSON format
will be used for most of the control plane logs. Some (but few) logs from `gunicorn` and the
Expand All @@ -351,15 +351,15 @@ installations, reduce memory footprint, and improve performance. We welcome feed
## [1.13.6] 2021-05-24
[1.13.6]: https://github.com/emissary-ingress/emissary/releases/v1.13.6

## Emissary-ingress
### Emissary-ingress

- Bugfix: Fixed a regression where Ambassador snapshot data was logged at the INFO label when using
`AMBASSADOR_LEGACY_MODE=true`.

## [1.13.5] 2021-05-13
[1.13.5]: https://github.com/emissary-ingress/emissary/releases/v1.13.5

## Emissary-ingress
### Emissary-ingress

- Bugfix: Fix a regression from 1.8.0 that prevented `ambassador` `Module` config keys `proper_case` and
`preserve_external_request_id` from working correctly.
Expand All @@ -370,7 +370,7 @@ installations, reduce memory footprint, and improve performance. We welcome feed
## [1.13.4] 2021-05-13
[1.13.4]: https://github.com/emissary-ingress/emissary/releases/v1.13.4

## Emissary-ingress
### Emissary-ingress

- Security: Emissary-ingress has been updated to Envoy 1.15.5, which addresses a high severity security
vulnerability (CVE-2021-29492). Emissary-ingress can now be configured to reject client requests
Expand Down
5 changes: 5 additions & 0 deletions build-aux-local/generate.mk
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ generate-fast/files += $(OSS_HOME)/manifests/emissary/emissary-crds.yaml
generate-fast/files += $(OSS_HOME)/manifests/emissary/emissary-ingress.yaml
generate-fast/files += $(OSS_HOME)/manifests/emissary/ambassador.yaml
generate-fast/files += $(OSS_HOME)/manifests/emissary/ambassador-crds.yaml
generate-fast/files += $(OSS_HOME)/docs/yaml/ambassador/ambassador-rbac-prometheus.yaml

generate: ## Update generated sources that get committed to Git
generate:
Expand Down Expand Up @@ -295,6 +296,10 @@ $(OSS_HOME)/manifests/emissary/ambassador-crds.yaml: $(OSS_HOME)/charts/emissary
@printf ' $(CYN)$@$(END)\n'
$(tools/fix-crds) oss 1.11 $(sort $(wildcard $</*.yaml)) > $@

$(OSS_HOME)/docs/yaml/ambassador/ambassador-rbac-prometheus.yaml: %: %.m4 $(OSS_HOME)/manifests/emissary/ambassador-crds.yaml
@printf ' $(CYN)$@$(END)\n'
cd $(@D) && m4 < $(<F) > $(@F)

$(OSS_HOME)/python/schemas/v3alpha1: $(OSS_HOME)/manifests/emissary/emissary-crds.yaml $(tools/crds2schemas)
rm -rf $@
$(tools/crds2schemas) $< $@
Expand Down
6 changes: 3 additions & 3 deletions docs/CHANGELOG.tpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CHANGELOG -- this is a GENERATED FILE, edit docs/releaseNotes.yml and "make generate" to change.
# CHANGELOG -- this is {{/* NOT */}}a GENERATED FILE, edit docs/releaseNotes.yml and "make generate" to change.

## EMISSARY-INGRESS and AMBASSADOR EDGE STACK

Expand Down Expand Up @@ -55,7 +55,7 @@ the default for all 1.X releases of Emissary-ingress.

This change is being made the original Envay `regex` matcher was [deprecated in favor of safe_regex]
in Envoy v1.12.0, then removed entirely from the Envoy V3 APIs. Additionally, setting
[max_program_size was deprecated] in Envoy v1.15.0. As such, `regex_type: unsafe` and setting
[max_program_size was deprecated] in Envoy v1.15.0. As such, `regex_type: unsafe` and setting
`regex_max_size` are no longer supported unless `AMBASSADOR_ENVOY_API_VERSION` is set to `V2`.

Please see the [Envoy documentation](https://www.envoyproxy.io/docs/envoy/latest/api-v3/type/matcher/v3/regex.proto.html) for more information.
Expand Down Expand Up @@ -87,7 +87,7 @@ Please see the [Envoy documentation](https://www.envoyproxy.io/docs/envoy/latest
{{ .body | strings.ReplaceAll "$productName$" "Emissary-ingress" | strings.ReplaceAll "<b>" "_" | strings.ReplaceAll "</b>" "_" | strings.ReplaceAll "<code>" "`" | strings.ReplaceAll "</code>" "`" | strings.WordWrap 98 }}
{{- end }}{{ end }}{{ end }}

## Emissary-ingress
### Emissary-ingress
{{ range .notes -}}{{ if not (index . "isHeadline") }}
- {{ .type | strings.Title }}: {{ .body | strings.ReplaceAll "$productName$" "Emissary-ingress" | strings.ReplaceAll "<b>" "_" | strings.ReplaceAll "</b>" "_" | strings.ReplaceAll "<code>" "`" | strings.ReplaceAll "</code>" "`" | strings.WordWrap 98 "\n " }}{{ if index . "github" }}{{ range .github }} ([{{.title}}]){{ end }}{{ end }}
{{ end }}{{ end }}{{ $anyGitLinks := false }}{{ range .notes -}}{{- if index . "github" -}}{{- range .github }}{{ $anyGitLinks = true }}
Expand Down
Loading