mirror of
https://github.com/alibaba/higress.git
synced 2026-05-21 11:17:28 +08:00
feat: support match annotation (#188)
Signed-off-by: charlie <qianglin98@qq.com>
This commit is contained in:
@@ -65,6 +65,8 @@ type Ingress struct {
|
||||
Destination *DestinationConfig
|
||||
|
||||
IgnoreCase *IgnoreCaseConfig
|
||||
|
||||
Match *MatchConfig
|
||||
}
|
||||
|
||||
func (i *Ingress) NeedRegexMatch() bool {
|
||||
@@ -135,6 +137,7 @@ func NewAnnotationHandlerManager() AnnotationHandler {
|
||||
auth{},
|
||||
destination{},
|
||||
ignoreCaseMatching{},
|
||||
match{},
|
||||
},
|
||||
gatewayHandlers: []GatewayHandler{
|
||||
downstreamTLS{},
|
||||
@@ -150,6 +153,7 @@ func NewAnnotationHandlerManager() AnnotationHandler {
|
||||
retry{},
|
||||
fallback{},
|
||||
ignoreCaseMatching{},
|
||||
match{},
|
||||
},
|
||||
trafficPolicyHandlers: []TrafficPolicyHandler{
|
||||
upstreamTLS{},
|
||||
|
||||
Reference in New Issue
Block a user