istio v1.31.0

VirtualService.spec.http[].route[].headers.request.remove.spec.http.corsPolicy

Cross-Origin Resource Sharing policy (CORS).

8 fields
VirtualService.spec.http[].route[].headers.request.remove.spec.http.corsPolicy fields and descriptions
Field / TypeDescription
allowCredentials
boolean

Indicates whether the caller is allowed to send the actual request (not the preflight) using credentials.

  • nullable
string[]

List of HTTP headers that can be used when requesting the resource.

string[]

List of HTTP methods allowed to access the resource.

string[]

No description provided.

any[]

String patterns that match allowed origins.

string[]

A list of HTTP headers that the browsers are allowed to access.

maxAge
string

Specifies how long the results of a preflight request can be cached.

  • x-kubernetes-validations: [{"message":"must be a valid duration greater than 1ms","rule":"duration(self) \u003e= duration('1ms')"}]
unmatchedPreflights
string

Indicates whether preflight requests not matching the configured allowed origin shouldn't be forwarded to the upstream. Valid Options: FORWARD, IGNORE

  • enum: ["UNSPECIFIED","FORWARD","IGNORE"]