Skip to content

fix Envoy Gateway Fails to Add xDS Listener#273

Merged
arkodg merged 1 commit intoenvoyproxy:mainfrom
zirain:fix-http-router
Aug 29, 2022
Merged

fix Envoy Gateway Fails to Add xDS Listener#273
arkodg merged 1 commit intoenvoyproxy:mainfrom
zirain:fix-http-router

Conversation

@zirain
Copy link
Copy Markdown
Member

@zirain zirain commented Aug 29, 2022

fixes: #267

Signed-off-by: hejianpeng hejianpeng2@huawei.com

cc @danehans

Signed-off-by: hejianpeng <hejianpeng2@huawei.com>
@zirain zirain requested a review from a team as a code owner August 29, 2022 07:19
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

Merging #273 (2daa409) into main (d3c041f) will decrease coverage by 0.32%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##             main     #273      +/-   ##
==========================================
- Coverage   58.45%   58.13%   -0.33%     
==========================================
  Files          31       31              
  Lines        2773     2778       +5     
==========================================
- Hits         1621     1615       -6     
- Misses       1058     1067       +9     
- Partials       94       96       +2     
Impacted Files Coverage Δ
internal/xds/translator/listener.go 47.19% <50.00%> (-0.43%) ⬇️
internal/provider/kubernetes/gateway.go 77.04% <0.00%> (-6.56%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

// Use only router.
HttpFilters: []*hcm.HttpFilter{{
Name: wellknown.Router,
Name: wellknown.Router,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

in fact name can be omit because it isn't needed

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

yes, prefer to keep it for better reading

Copy link
Copy Markdown
Member

@Xunzhuo Xunzhuo left a comment

Choose a reason for hiding this comment

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

LGTM, thanks.

Copy link
Copy Markdown
Contributor

@arkodg arkodg left a comment

Choose a reason for hiding this comment

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

🚀

HttpFilters: []*hcm.HttpFilter{{
Name: wellknown.Router,
Name: wellknown.Router,
ConfigType: &hcm.HttpFilter_TypedConfig{TypedConfig: routerAny},
Copy link
Copy Markdown
Contributor

@arkodg arkodg Aug 29, 2022

Choose a reason for hiding this comment

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

@lizan @zirain is this tied to a new API change or API implementation change ? wasn't needed earlier

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@arkodg arkodg merged commit a4773ec into envoyproxy:main Aug 29, 2022
@zirain zirain deleted the fix-http-router branch August 30, 2022 00:52
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

Successfully merging this pull request may close these issues.

Envoy Gateway Fails to Add xDS Listener

5 participants