INPUT_OBJECT

KubernetesKindHTTPRouteSpecInput

Spec defines the desired state of HTTPRoute.

link GraphQL Schema definition

  • input KubernetesKindHTTPRouteSpecInput {
  • # Hostname is the fully qualified domain name of a network host. This matches the
  • # RFC 1123 definition of a hostname with 2 notable exceptions:
  • #
  • # 1. IPs are not allowed. 2. A hostname may be prefixed with a wildcard label
  • # (`*.`). The wildcard label must appear by itself as the first label.
  • #
  • # Hostname can be "precise" which is a domain name without the terminating dot of
  • # a network host (e.g. "foo.example.com") or "wildcard", which is a domain name
  • # prefixed with a single wildcard label (e.g. `*.example.com`).
  • #
  • # Note that as per RFC1035 and RFC1123, a *label* must consist of lower case
  • # alphanumeric characters or '-', and must start and end with an alphanumeric
  • # character. No other punctuation is allowed.
  • hostnames: [String]
  • # ParentReference identifies an API object (usually a Gateway) that can be
  • # considered a parent of this resource (usually a route). There are two kinds of
  • # parent resources with "Core" support:
  • #
  • # * Gateway (Gateway conformance profile) * Service (Mesh conformance profile,
  • # experimental, ClusterIP Services only)
  • #
  • # This API may be extended in the future to support additional kinds of parent
  • # resources.
  • #
  • # The API object must be valid in the cluster; the Group and Kind must be
  • # registered in the cluster for this reference to be valid.
  • parentRefs: [KubernetesKindHTTPRouteSpecParentRefsInput]
  • # HTTPRouteRule defines semantics for matching an HTTP request based on conditions
  • # (matches), processing it (filters), and forwarding the request to an API object
  • # (backendRefs).
  • rules: [KubernetesKindHTTPRouteSpecRulesInput]
  • }