We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Given:
apiVersion: kuma.io/v1alpha1 kind: MeshPassthrough metadata: name: allow-client1-cluster1-to-kgw-cluster2 namespace: kong-mesh-system labels: kuma.io/mesh: default spec: targetRef: kind: MeshSubset proxyTypes: - Sidecar tags: kuma.io/service: client-1_client_svc default: passthroughMode: Matched appendMatch: - type: IP value: $PROXY_IP protocol: http port: 80
Then, the generated Envoy config for sidecar attached to client-1 is like:
"filters": [ { "name": "envoy.filters.network.http_connection_manager", "typed_config": { "@type": "type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager", "stat_prefix": "meshpassthrough_http_80", "route_config": { "name": "meshpassthrough_http_80", "virtual_hosts": [ { "name": "<public IP ADDRESS>", "domains": [ "<public IP ADDRESS>" ], "routes": [ { "match": { "path": "/" }, "route": { "cluster": "meshpassthrough_<public IP ADDRESS>_80" } } ] }, { "name": "no_match", "domains": [ "*" ], "routes": [ { "match": { "prefix": "/" }, "direct_response": { "status": 503, "body": { "inline_string": "This response comes from Kuma Sidecar. No routes matched this domain - check configuration of your MeshPassthrough policy.\n" } } } ] } ] },
The route matcher should be "prefix": "/" and not "path": "/".
"prefix": "/"
"path": "/"
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
What happened?
Given:
Then, the generated Envoy config for sidecar attached to client-1 is like:
The route matcher should be
"prefix": "/"
and not"path": "/"
.The text was updated successfully, but these errors were encountered: