diff --git a/apis/v1alpha1/adminnetworkpolicy_types.go b/apis/v1alpha1/adminnetworkpolicy_types.go index 97d8d438..e10b6eae 100644 --- a/apis/v1alpha1/adminnetworkpolicy_types.go +++ b/apis/v1alpha1/adminnetworkpolicy_types.go @@ -244,7 +244,10 @@ type AdminNetworkPolicyEgressPeer struct { // +optional Pods *NamespacedPod `json:"pods,omitempty"` // Nodes defines a way to select a set of nodes in - // the cluster. This field follows standard label selector + // the cluster (based on the node's labels). It selects + // the nodeIPs as the peer type by matching on the IPs + // present in the node.Status.Addresses field of the node. + // This field follows standard label selector // semantics; if present but empty, it selects all Nodes. // // Support: Extended diff --git a/apis/v1alpha1/baselineadminnetworkpolicy_types.go b/apis/v1alpha1/baselineadminnetworkpolicy_types.go index 825eb9bc..d7e31137 100644 --- a/apis/v1alpha1/baselineadminnetworkpolicy_types.go +++ b/apis/v1alpha1/baselineadminnetworkpolicy_types.go @@ -219,7 +219,10 @@ type BaselineAdminNetworkPolicyEgressPeer struct { // +optional Pods *NamespacedPod `json:"pods,omitempty"` // Nodes defines a way to select a set of nodes in - // the cluster. This field follows standard label selector + // the cluster (based on the node's labels). It selects + // the nodeIPs as the peer type by matching on the IPs + // present in the node.Status.Addresses field of the node. + // This field follows standard label selector // semantics; if present but empty, it selects all Nodes. // // Support: Extended diff --git a/config/crd/experimental/policy.networking.k8s.io_adminnetworkpolicies.yaml b/config/crd/experimental/policy.networking.k8s.io_adminnetworkpolicies.yaml index e9711dde..1e697f8c 100644 --- a/config/crd/experimental/policy.networking.k8s.io_adminnetworkpolicies.yaml +++ b/config/crd/experimental/policy.networking.k8s.io_adminnetworkpolicies.yaml @@ -329,7 +329,10 @@ spec: nodes: description: |- Nodes defines a way to select a set of nodes in - the cluster. This field follows standard label selector + the cluster (based on the node's labels). It selects + the nodeIPs as the peer type by matching on the IPs + present in the node.Status.Addresses field of the node. + This field follows standard label selector semantics; if present but empty, it selects all Nodes. Support: Extended diff --git a/config/crd/experimental/policy.networking.k8s.io_baselineadminnetworkpolicies.yaml b/config/crd/experimental/policy.networking.k8s.io_baselineadminnetworkpolicies.yaml index 313ab35d..34c14c8b 100644 --- a/config/crd/experimental/policy.networking.k8s.io_baselineadminnetworkpolicies.yaml +++ b/config/crd/experimental/policy.networking.k8s.io_baselineadminnetworkpolicies.yaml @@ -280,7 +280,10 @@ spec: nodes: description: |- Nodes defines a way to select a set of nodes in - the cluster. This field follows standard label selector + the cluster (based on the node's labels). It selects + the nodeIPs as the peer type by matching on the IPs + present in the node.Status.Addresses field of the node. + This field follows standard label selector semantics; if present but empty, it selects all Nodes. Support: Extended