Kazan v0.7.0 Kazan.Apis.Networking.V1.NetworkPolicyPeer View Source
NetworkPolicyPeer describes a peer to allow traffic from. Exactly one of its fields must be specified.
OpenAPI Definition: io.k8s.api.networking.v1.NetworkPolicyPeer
Properties
ip_block
::Kazan.Apis.Networking.V1.IPBlock
- IPBlock defines policy on a particular IPBlock
namespace_selector
::Kazan.Models.Apimachinery.Meta.V1.LabelSelector
- Selects Namespaces using cluster scoped-labels. This matches all pods in all namespaces selected by this label selector. This field follows standard label selector semantics. If present but empty, this selector selects all namespaces.
pod_selector
::Kazan.Models.Apimachinery.Meta.V1.LabelSelector
- This is a label selector which selects Pods in this namespace. This field follows standard label selector semantics. If present but empty, this selector selects all pods in this namespace.