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

Wellknown filter names are deprecated #293

Closed
jpeach opened this issue Apr 26, 2020 · 7 comments
Closed

Wellknown filter names are deprecated #293

jpeach opened this issue Apr 26, 2020 · 7 comments

Comments

@jpeach
Copy link
Contributor

jpeach commented Apr 26, 2020

[2020-04-26 22:20:49.645][1][warning][misc] [bazel-out/k8-opt/bin/source/extensions/common/_virtual_includes/utility_lib/extensions/common/utility.h:65] Using deprecated extension name 'envoy.router' for 'envoy.filters.http.router'. This name will be removed from Envoy soon. Please see https://www.envoyproxy.io/docs/envoy/latest/intro/deprecated for details.
[2020-04-26 22:20:49.645][1][warning][misc] [bazel-out/k8-opt/bin/source/extensions/common/_virtual_includes/utility_lib/extensions/common/utility.h:65] Using deprecated extension name 'envoy.gzip' for 'envoy.filters.http.gzip'. This name will be removed from Envoy soon. Please see https://www.envoyproxy.io/docs/envoy/latest/intro/deprecated for details.

Any program using the wellknown package constants for filter names will run into the problem that these filter names are deprecated in Envoy. However, just changing to the new names seems hard because the API might be used by programs that server older versions of Envoy that don't support the new names.

@ghost
Copy link

ghost commented Jul 29, 2020

Just curious - does the merge of #294 resolve this issue?

@kyessenov
Copy link
Contributor

Protobuf type takes precedence, so the name is not important as of last couple of releases of Envoy.

@ghost
Copy link

ghost commented Jul 29, 2020

Cool, thanks for the info. Can we close this issue?

@kyessenov
Copy link
Contributor

Yeah, let's close it. The action item is just to document.

@jpeach
Copy link
Contributor Author

jpeach commented Jul 30, 2020 via email

@kyessenov
Copy link
Contributor

kyessenov commented Jul 30, 2020

Would you take a PR documenting the names as deprecated and recommending use of the type URLs?

Absolutely.

@fxposter
Copy link
Contributor

Protobuf type takes precedence, so the name is not important as of last couple of releases of Envoy.

at least not in 1.12 :)

shashankram added a commit to shashankram/osm that referenced this issue Jun 21, 2022
- Updates Envoy to its latest available version
  (v1.22.2 for Linux, v1.22.1 for Windows).
  The latest version includes the latest released
  security fix.
  We could not update Envoy previously due to a blocking bug:
  envoyproxy/envoy#20113

- Updates filter names to custom names as wellknown
  names are deprecated in Envoy (with 1 exception
  for the http.rbac filter). Envoy will use the
  TypeURL in the proto to determine which filter
  to use instead. Wellknown names are not required
  and using them is confusing because not all filters
  are defined in the legacy wellknown pkg (e.g.
  http.local_ratelimit).
  See:
  envoyproxy/envoy#21759
  envoyproxy/envoy#21763
  envoyproxy/go-control-plane#293
  envoyproxy/go-control-plane#552

- Uses the distroless image as the alpine image has been
  discontinued: envoyproxy/envoy#21758

- Updates tests to use custom filter names

- Adds `proto_types.go` to aid dynamic proto resolution
  for typed configs using `any.Any()`. This helps resolve
  protos where dynamic resolution is necessary.

- Updated Prometheus' ConfigMap to reflect changes to
  Envoy metrics prefixes

Signed-off-by: Shashank Ram <[email protected]>
shashankram added a commit to openservicemesh/osm that referenced this issue Jun 22, 2022
- Updates Envoy to its latest available version
  (v1.22.2 for Linux, v1.22.1 for Windows).
  The latest version includes the latest released
  security fix.
  We could not update Envoy previously due to a blocking bug:
  envoyproxy/envoy#20113

- Updates filter names to custom names as wellknown
  names are deprecated in Envoy (with 1 exception
  for the http.rbac filter). Envoy will use the
  TypeURL in the proto to determine which filter
  to use instead. Wellknown names are not required
  and using them is confusing because not all filters
  are defined in the legacy wellknown pkg (e.g.
  http.local_ratelimit).
  See:
  envoyproxy/envoy#21759
  envoyproxy/envoy#21763
  envoyproxy/go-control-plane#293
  envoyproxy/go-control-plane#552

- Uses the distroless image as the alpine image has been
  discontinued: envoyproxy/envoy#21758

- Updates tests to use custom filter names

- Adds `proto_types.go` to aid dynamic proto resolution
  for typed configs using `any.Any()`. This helps resolve
  protos where dynamic resolution is necessary.

- Updated Prometheus' ConfigMap to reflect changes to
  Envoy metrics prefixes

Signed-off-by: Shashank Ram <[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

No branches or pull requests

3 participants