Share feedback
Answers are generated based on the documentation.

Experimental

Schema

ExactNetworkPolicy

Type: object

ExactNetworkPolicy is a complete consumer-installed generation; its last node is the root.
nodes · required

Type: array

nodes are complete and topologically ordered; the final node is the root.
Array item

Schema: ExactPolicyNode

All schema constraints and annotations
{
  "description": "nodes are complete and topologically ordered; the final node is the root.",
  "items": {
    "$ref": "#/components/schemas/ExactPolicyNode"
  },
  "maxItems": 256,
  "minItems": 1,
  "type": "array"
}
revision · required

Type: string

revision binds authority, configuration and resolved conditions to the installed generation.
All schema constraints and annotations
{
  "description": "revision binds authority, configuration and resolved conditions to the installed generation.",
  "minLength": 1,
  "type": "string"
}
selectorVersion · required

Type: string

selector_version fixes matching semantics across implementations.
All schema constraints and annotations
{
  "const": "destination.v1",
  "description": "selector_version fixes matching semantics across implementations.",
  "type": "string"
}
All schema constraints and annotations
{
  "description": "ExactNetworkPolicy is a complete consumer-installed generation; its last node is the root.",
  "properties": {
    "nodes": {
      "description": "nodes are complete and topologically ordered; the final node is the root.",
      "items": {
        "$ref": "#/components/schemas/ExactPolicyNode"
      },
      "maxItems": 256,
      "minItems": 1,
      "type": "array"
    },
    "revision": {
      "description": "revision binds authority, configuration and resolved conditions to the installed generation.",
      "minLength": 1,
      "type": "string"
    },
    "selectorVersion": {
      "const": "destination.v1",
      "description": "selector_version fixes matching semantics across implementations.",
      "type": "string"
    }
  },
  "required": [
    "revision",
    "selectorVersion",
    "nodes"
  ],
  "title": "ExactNetworkPolicy",
  "type": "object"
}