istio v1.31.0

VirtualService.spec.http[].match[].queryParams.[key].spec.http.match

Match conditions to be satisfied for the rule to be activated.

14 fields
VirtualService.spec.http[].match[].queryParams.[key].spec.http.match fields and descriptions
Field / TypeDescription
any

HTTP Authority values are case-sensitive and formatted as follows: - `exact: "value"` for exact string match - `prefix: "value"` for prefix-based match - `regex: "value"` for [RE2 style regex-based match](https://github.com/google/re2/wiki/Syntax).

string[]

Names of gateways where the rule should be applied.

map[string]any

The header keys must be lowercase and use hyphen as the separator, e.g.

ignoreUriCase
boolean

Flag to specify whether the URI matching should be case-insensitive.

any

HTTP Method values are case-sensitive and formatted as follows: - `exact: "value"` for exact string match - `prefix: "value"` for prefix-based match - `regex: "value"` for [RE2 style regex-based match](https://github.com/google/re2/wiki/Syntax).

name
string

The name assigned to a match.

port
integer

Specifies the ports on the host that is being addressed.

  • minimum: 0
  • maximum: 4294967295
map[string]any

Query parameters for matching.

any

URI Scheme values are case-sensitive and formatted as follows: - `exact: "value"` for exact string match - `prefix: "value"` for prefix-based match - `regex: "value"` for [RE2 style regex-based match](https://github.com/google/re2/wiki/Syntax).

map[string]string

One or more labels that constrain the applicability of a rule to source (client) workloads with the given labels.

sourceNamespace
string

Source namespace constraining the applicability of a rule to workloads in that namespace.

statPrefix
string

The human readable prefix to use when emitting statistics for this route.

any

URI to match values are case-sensitive and formatted as follows: - `exact: "value"` for exact string match - `prefix: "value"` for prefix-based match - `regex: "value"` for [RE2 style regex-based match](https://github.com/google/re2/wiki/Syntax).

map[string]any

withoutHeader has the same syntax with the header, but has opposite meaning.