alibaba / alibaba/virtual-environment

kt-virtual-environment/rule配置多个match.uri配置只有第一个生效

Open
#37 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
222
Forks
40
PR merge metrics
No merged PRs in 30d

Description

![image](https://user-images.githubusercontent.com/1113435/150969856-78ee6749-d44d-4eeb-9fa8-45542a21496e.png)

istio同字段下有同名的,只会生效json内靠前的第一份配置{"match":[{"uri":{"exact":"/api/heart"}},{"uri":{"prefix":"/"}}]}

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the rule configuration shown in the issue, using the two match.uri entries and comparing the generated or applied Istio routing behavior. Trace the rule-processing entry point that handles repeated match fields; done means both URI conditions are honored rather than only the first JSON entry.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.