fix: when multiple http2Rpc config constructHttp2RpcEnvoyFilter (… #935
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ⅰ. Describe what this PR did
修复两个Http2Rpc转换EnvoyFilter有两个envoy.filters.http.http_dubbo_transcoder的部分的问题
Ⅱ. Does this pull request fix one issue?
Http2Rpc配置两个Http2Rpc,路由转发失败 #926
fixes #926
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
两个Ingress和Http2Rpc的情况
![image](https://private-user-images.githubusercontent.com/45159482/329836633-69afb8f9-f906-43f4-94ac-551017ebd565.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ1ODg4NDgsIm5iZiI6MTcyNDU4ODU0OCwicGF0aCI6Ii80NTE1OTQ4Mi8zMjk4MzY2MzMtNjlhZmI4ZjktZjkwNi00M2Y0LTk0YWMtNTUxMDE3ZWJkNTY1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI1VDEyMjIyOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQyY2U5YWQwNGY4MTNhNTY5Yzk4ZjFlYjM5M2QzMjdiNDM1NjEzZGNjZmYwNTk4MTBmNTU2ZGE1NDkzMmRjMTAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.LaL-wvPv-woLfVIEvt-R4cIja0lSHIlyZhtLEom9ffY)
![image](https://private-user-images.githubusercontent.com/45159482/329836594-5cf0b44a-9fb3-4a94-b4f5-ef4a2d03d98c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ1ODg4NDgsIm5iZiI6MTcyNDU4ODU0OCwicGF0aCI6Ii80NTE1OTQ4Mi8zMjk4MzY1OTQtNWNmMGI0NGEtOWZiMy00YTk0LWI0ZjUtZWY0YTJkMDNkOThjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI1VDEyMjIyOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTI1ZDcxMzdlM2MyYTY3ZjUzMjliNGRmODY4YWJmMWRhMWM3NDQ4YzI4ZDRlNDhmM2M5MmVlNzhiYWQ4MzhlZGQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.RdYGq9pFrw5MAMXQb5KAja0nwQ9fj3yfp8R2xpvReks)
只有一个account Ingress和Http2Rpc的情况
相关配置:
Ⅴ. Special notes for reviews