gateway api v1.6.2 experimental

GRPCRoute.spec.rules[].matches[].headers[]

GRPCHeaderMatch describes how to select a gRPC route by matching gRPC request headers.

3 fields
GRPCRoute.spec.rules[].matches[].headers[] fields and descriptions
Field / TypeDescription
name
string required

Name is the name of the gRPC Header to be matched. If multiple entries specify equivalent header names, only the first entry with an equivalent name MUST be considered for a match. Subsequent entries with an equivalent header name MUST be ignored. Due to the case-insensitivity of header names, "foo" and "Foo" are considered equivalent.

  • minLength: 1
  • maxLength: 256
  • pattern: ^[A-Za-z0-9!#$%&'*+\-.^_\x60|~]+$
type
string

Type specifies how to match against the value of the header.

  • enum: ["Exact","RegularExpression"]
  • default: "Exact"
value
string required

Value is the value of the gRPC Header to be matched.

  • minLength: 1
  • maxLength: 4096