Contour · Schema

HeaderMatchCondition

A condition matching on HTTP request headers.

EnvoyIngress ControllerKubernetesNetworkingProxy

Properties

Name Type Description
name string HTTP header name to match.
present boolean If true, the header must be present.
contains string Value the header must contain.
notcontains string Value the header must not contain.
exact string Exact value the header must equal.
notexact string Value the header must not equal.
View JSON Schema on GitHub

JSON Schema

contour-headermatchcondition-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/HeaderMatchCondition",
  "title": "HeaderMatchCondition",
  "type": "object",
  "description": "A condition matching on HTTP request headers.",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "HTTP header name to match."
    },
    "present": {
      "type": "boolean",
      "description": "If true, the header must be present."
    },
    "contains": {
      "type": "string",
      "description": "Value the header must contain."
    },
    "notcontains": {
      "type": "string",
      "description": "Value the header must not contain."
    },
    "exact": {
      "type": "string",
      "description": "Exact value the header must equal."
    },
    "notexact": {
      "type": "string",
      "description": "Value the header must not equal."
    }
  }
}