Paths should be optional, and path cannot be root path of a service eg. /. Validation webhook and validation in the manager should be able to catch this. Everything else related to paths will have the same properties as before and route level upstream should overwrite top level upstream.
so spec.upstream will be replaced with spec.paths."/somepath".get.route.upstream if path level is upstream is defined.
this is extension of this issue #869
Upstream should be added to top level properties.
Paths should be optional, and path cannot be root path of a service eg.
/
. Validation webhook and validation in the manager should be able to catch this. Everything else related to paths will have the same properties as before and route level upstream should overwrite top level upstream.so spec.upstream will be replaced with spec.paths."/somepath".get.route.upstream if path level is upstream is defined.