istio v1.31.0
VirtualService.spec.http[].route[].headers.request.add.spec.http.corsPolicy
Cross-Origin Resource Sharing policy (CORS).
| Field / Type | Description |
|---|---|
allowCredentials | Indicates whether the caller is allowed to send the actual request (not the preflight) using credentials.
|
List of HTTP headers that can be used when requesting the resource. | |
List of HTTP methods allowed to access the resource. | |
No description provided. | |
String patterns that match allowed origins. | |
A list of HTTP headers that the browsers are allowed to access. | |
maxAge | Specifies how long the results of a preflight request can be cached.
|
unmatchedPreflights | Indicates whether preflight requests not matching the configured allowed origin shouldn't be forwarded to the upstream. Valid Options: FORWARD, IGNORE
|