Skip to content

global.outboundTrafficPolicy.mode 设置为 REGISTRY_ONLY 时,block_all路由和to_global_sidecar路由冲突 #362

@hexiaodai

Description

@hexiaodai

Bug description

Affected sub-moudle (please put an X in all that apply)

[X ] Configuration Lazy Loading
[ ] Http Plugin Management
[ ] Adaptive Ratelimit
[ ] Slime Boot

Steps to reproduce the bug

  1. istioctl install --set meshConfig.outboundTrafficPolicy.mode=REGISTRY_ONLY
  2. kubectl logs sleep-xxx -c istio-proxy
    rejected: Only a single wildcard domain is permitted in route 9080

block_all 路由和 to_global_sidecar 路由冲突

        "virtualHosts": [
            {
                "name": "block_all",
                "domains": [
                    "*"
                ],
                "routes": [
                    {
                        "name": "block_all",
                        "match": {
                            "prefix": "/"
                        },
                        "directResponse": {
                            "status": 502
                        }
                    }
                ],
                "includeRequestAttemptCount": true
            },
        ...
    ]

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions