Currently, when creating a new endpoint (ingress-route) in the cloud-aoi, users are required to manually append the crossover middleware.
Requirements
whenever the user creates new middleware the system should check if we have crossover middleware in the endpoint-namespace and use it if exists or creates new one if doesn't.
Proposed Solution
similar to the stripe-prefix middleware that we use to stripe the middleware endpoint id or the basic-auth middleware we use for authentication ,
we should also dynamically create and append the crossover middleware to the newly created ingress-route
Issue Description
Background
Currently, when creating a new endpoint (ingress-route) in the cloud-aoi, users are required to manually append the crossover middleware.
Requirements
whenever the user creates new middleware the system should check if we have
crossover
middleware in the endpoint-namespace and use it if exists or creates new one if doesn't.Proposed Solution
similar to the stripe-prefix middleware that we use to stripe the middleware endpoint id or the basic-auth middleware we use for authentication , we should also dynamically create and append the crossover middleware to the newly created ingress-route