l7mp-operator: Support inline Target definitions in VirtualService objects · Issue #85 · l7mp/l7mp · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, this is now rejected since the OpenAPI schema requires the route.destination property to contain a Cluster but this does not allow a the target service selector to be defined:
A workaround exists: simply specify a separate Target, say, my-dns-target and then let the VirtualService route refer to this Target but this superfluously complicates the mesh config:
Currently there is no way to specify a
Target
selector in the case when aTarget
is created inline inside aVirtualService
.In particular, the below example to route DNS requests to a
my-dns
service should work:Unfortunately, this is now rejected since the OpenAPI schema requires the
route.destination
property to contain aCluster
but this does not allow a the target service selector to be defined:Instead, the
route.destination
should point to aTarget
, which specifies its own target selector:A workaround exists: simply specify a separate
Target
, say,my-dns-target
and then let theVirtualService
route refer to thisTarget
but this superfluously complicates the mesh config:Please, fix.
The text was updated successfully, but these errors were encountered: