OBJECT
KubernetesKindHTTPRouteSpecRulesMatches
HTTPRouteMatch defines the predicate used to match requests to a given action. Multiple match types are ANDed together, i.e. the match will evaluate to true only if all conditions are satisfied.
For example, the match below will match a HTTP request only if its path starts with /foo
AND it contains the version: v1
header:
path: value: "/foo" headers: - name: "version" value "v1"
link GraphQL Schema definition
- type KubernetesKindHTTPRouteSpecRulesMatches {
- # HTTPHeaderMatch describes how to select a HTTP route by matching HTTP request
- # headers.
- KubernetesKindHTTPRouteSpecRulesMatchesHeaders] : [
- # Method specifies HTTP method matcher. When specified, this route will be matched
- # only if the request has the specified method.
- #
- # Support: Extended
- KubernetesKindHTTPRouteSpecRulesMatchesMethodEnum :
- # Path specifies a HTTP request path matcher. If this field is not specified, a
- # default prefix match on the "/" path is provided.
- KubernetesKindHTTPRouteSpecRulesMatchesPath :
- # HTTPQueryParamMatch describes how to select a HTTP route by matching HTTP query
- # parameters.
- KubernetesKindHTTPRouteSpecRulesMatchesQueryParams] : [
- }