Share feedback
Answers are generated based on the documentation.

Experimental

Schema

NetworkPolicyMode

Type: string

NetworkPolicyMode is the top-level egress disposition.

Values: unspecified: unspecified is invalid in policy documents and in conforming responses. allowAll: allowAll allows egress unless denied by a narrower rule. denyAll: denyAll denies egress unless allowed by a narrower rule.

All schema constraints and annotations
{
  "description": "NetworkPolicyMode is the top-level egress disposition.\n\nValues:\nunspecified: unspecified is invalid in policy documents and in conforming responses.\nallowAll: allowAll allows egress unless denied by a narrower rule.\ndenyAll: denyAll denies egress unless allowed by a narrower rule.",
  "enum": [
    "unspecified",
    "allowAll",
    "denyAll"
  ],
  "title": "NetworkPolicyMode",
  "type": "string"
}