Skip to content

Update envoy version to 1.22 (with config updates)#1222

Merged
sampajano merged 2 commits intogrpc:masterfrom
tomk9:master
Apr 21, 2022
Merged

Update envoy version to 1.22 (with config updates)#1222
sampajano merged 2 commits intogrpc:masterfrom
tomk9:master

Conversation

@tomk9
Copy link
Copy Markdown
Contributor

@tomk9 tomk9 commented Apr 21, 2022

@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla bot commented Apr 21, 2022

CLA Signed

The committers listed above are authorized under a signed CLA.

@tomk9 tomk9 changed the title #1220 Update envoy version to 1.22 Update envoy version to 1.22 Apr 21, 2022
@sampajano
Copy link
Copy Markdown
Collaborator

sampajano commented Apr 21, 2022

@tomk9 Thanks so much for the change!!

Interestingly, didn't find anything mentioning about a "breaking change" in Envoy 1.22 change log.. But it did mention a few things about "typed configuration" and "filter".. :)

https://www.envoyproxy.io/docs/envoy/latest/version_history/v1.22.0

Could it be a bug on Envoy side?

============================

Aha found this PR: envoyproxy/envoy#20397

It's said to be "strongly recommended" but not required.. but i guess in that case we should adopt it anyways.. 😄

- name: envoy.filters.http.grpc_web
- name: envoy.filters.http.cors
- name: envoy.filters.http.router
- name: envoy.filters.http.grpc_web
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just curious - does the name still matter now?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've checked. Looks like the name doesn't matter anymore.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh i see! Good to know.. Thanks for checking! :)

Copy link
Copy Markdown
Collaborator

@sampajano sampajano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much for helping here! The change looks awesome!! Much appreciated! 😃

- name: envoy.filters.http.router
- name: envoy.filters.http.grpc_web
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.http.grpc_web.v3.GrpcWeb
Copy link
Copy Markdown
Collaborator

@sampajano sampajano Apr 21, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

curious - how did you compose this string? :)

i can see extensions.filters.http.grpc_web.v3.GrpcWeb being mentioned on Envoy doc, but what about the type.googleapis.com (maybe it's by convention or "just works"😂) ? 😃

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aha ok! Thanks for explaining! :)

http_filters:
- name: envoy.grpc_web
- name: envoy.router
- name: listener_0
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for bringing the tutorial up-to-date and fixing the formatting too! 😃

@sampajano sampajano changed the title Update envoy version to 1.22 Update envoy version to 1.22 (with configuration updates) Apr 21, 2022
@sampajano sampajano changed the title Update envoy version to 1.22 (with configuration updates) Update envoy version to 1.22 (with config updates) Apr 21, 2022
@sampajano sampajano merged commit 58e8c15 into grpc:master Apr 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants