Describe the requested changes
Provide doc examples for customizing CORS configuration for Gloo Portal + Edge, Istio, and GMG in these forms
Through the UI
Through YAML Config
It would be good to have specific examples including outputs so that the user can validate/debug that their CORS configuration is correct. The current docs just state: "If cors is set, the default config provided by Gloo Portal on the VirtualService or VirtualHost will be overridden for this route. It will be up to the user to make sure CORS is configured correctly to work with the “Try it out” feature in the Developer Portal UI." and can be ambiguous
For example, the Environment CR with customized cors options can generate a Gloo Edge VirtualService as well as an Istio VirtualService where the cors policy is different
Browser Information
If the change isn't related to content, please include your browser version and any other relevant information
(e.g., browser zoom) to help us reproduce docs-related bugs.
Additional context
Add any other context about the problem here.
Describe the requested changes Provide doc examples for customizing CORS configuration for Gloo Portal + Edge, Istio, and GMG in these forms
It would be good to have specific examples including outputs so that the user can validate/debug that their CORS configuration is correct. The current docs just state: "If cors is set, the default config provided by Gloo Portal on the VirtualService or VirtualHost will be overridden for this route. It will be up to the user to make sure CORS is configured correctly to work with the “Try it out” feature in the Developer Portal UI." and can be ambiguous
For example, the Environment CR with customized cors options can generate a Gloo Edge
VirtualService
as well as an IstioVirtualService
where the cors policy is differentGenerated Gloo Edge VS:
Generated Istio VS:
Link to any relevant existing docs
Reference to these issues: https://github.com/solo-io/gloo-portal-issues/issues/120 https://github.com/solo-io/gloo-portal-issues/issues/106 and these docs: https://docs.solo.io/gloo-portal/latest/reference/api/environment/#environmentspec-gatewayconfig https://docs.solo.io/gloo-portal/latest/reference/api/route/#routespec
Browser Information If the change isn't related to content, please include your browser version and any other relevant information (e.g., browser zoom) to help us reproduce docs-related bugs.
Additional context Add any other context about the problem here.