namespaceSelector property

Input<LabelSelectorPatch>? namespaceSelector
final

Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces.

If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector.

Implementation

final pulumi.Input<LabelSelectorPatch>? namespaceSelector;