Skip to content

feat: enhance traffic-tag plugin with exists and not_exists ops#3554

Open
rayne-Li wants to merge 1 commit intohigress-group:mainfrom
rayne-Li:feature/traffic_tag
Open

feat: enhance traffic-tag plugin with exists and not_exists ops#3554
rayne-Li wants to merge 1 commit intohigress-group:mainfrom
rayne-Li:feature/traffic_tag

Conversation

@rayne-Li
Copy link
Copy Markdown

@rayne-Li rayne-Li commented Mar 2, 2026

Ⅰ. Describe what this PR did

拓展traffic-tag染色插件, 增加exists和not_exists两个操作符, 用于实现针对存在性条件的逻辑

Ⅱ. Does this pull request fix one issue?

no

Ⅳ. Describe how to verify it

kubectl -n higress-system get wasmplugin traffic-tag-1.0.0 -o yaml

spec:
  defaultConfig:
    conditionGroups:
    - conditions:
      - conditionType: header
        key: model
        operator: not_exists
      headerName: routing-strategy
      headerValue: random
      logic: and

Signed-off-by: rayneLi <rayne.lyvn@gmail.com>
@rayne-Li rayne-Li force-pushed the feature/traffic_tag branch from 8a6816a to cfa5b85 Compare March 2, 2026 09:27
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.

1 participant