INPUT_OBJECT

KubernetesKindHTTPRouteSpecRulesInput

HTTPRouteRule defines semantics for matching an HTTP request based on conditions (matches), processing it (filters), and forwarding the request to an API object (backendRefs).

link GraphQL Schema definition

  • input KubernetesKindHTTPRouteSpecRulesInput {
  • # HTTPBackendRef defines how a HTTPRoute should forward an HTTP request.
  • backendRefs: [KubernetesKindHTTPRouteSpecRulesBackendRefsInput]
  • # HTTPRouteFilter defines processing steps that must be completed during the
  • # request or response lifecycle. HTTPRouteFilters are meant as an extension point
  • # to express processing that may be done in Gateway implementations. Some examples
  • # include request or response modification, implementing authentication
  • # strategies, rate-limiting, and traffic shaping. API guarantee/conformance is
  • # defined based on the type of the filter.
  • filters: [KubernetesKindHTTPRouteSpecRulesFiltersInput]
  • # 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:
  • #
  • # ``` match:
  • #
  • # path: value: "/foo" headers: - name: "version" value "v1"
  • #
  • # ```
  • matches: [KubernetesKindHTTPRouteSpecRulesMatchesInput]
  • }