Skip to content

Commit feae59d

Browse files
authored
Merge pull request #280 from tssurya/update-node-peer-description
Update node peers description
2 parents b1d9608 + 91093c1 commit feae59d

4 files changed

+16
-4
lines changed

apis/v1alpha1/adminnetworkpolicy_types.go

+4-1
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,10 @@ type AdminNetworkPolicyEgressPeer struct {
244244
// +optional
245245
Pods *NamespacedPod `json:"pods,omitempty"`
246246
// Nodes defines a way to select a set of nodes in
247-
// the cluster. This field follows standard label selector
247+
// the cluster (based on the node's labels). It selects
248+
// the nodeIPs as the peer type by matching on the IPs
249+
// present in the node.Status.Addresses field of the node.
250+
// This field follows standard label selector
248251
// semantics; if present but empty, it selects all Nodes.
249252
//
250253
// Support: Extended

apis/v1alpha1/baselineadminnetworkpolicy_types.go

+4-1
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,10 @@ type BaselineAdminNetworkPolicyEgressPeer struct {
219219
// +optional
220220
Pods *NamespacedPod `json:"pods,omitempty"`
221221
// Nodes defines a way to select a set of nodes in
222-
// the cluster. This field follows standard label selector
222+
// the cluster (based on the node's labels). It selects
223+
// the nodeIPs as the peer type by matching on the IPs
224+
// present in the node.Status.Addresses field of the node.
225+
// This field follows standard label selector
223226
// semantics; if present but empty, it selects all Nodes.
224227
//
225228
// Support: Extended

config/crd/experimental/policy.networking.k8s.io_adminnetworkpolicies.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,10 @@ spec:
329329
nodes:
330330
description: |-
331331
Nodes defines a way to select a set of nodes in
332-
the cluster. This field follows standard label selector
332+
the cluster (based on the node's labels). It selects
333+
the nodeIPs as the peer type by matching on the IPs
334+
present in the node.Status.Addresses field of the node.
335+
This field follows standard label selector
333336
semantics; if present but empty, it selects all Nodes.
334337
335338
Support: Extended

config/crd/experimental/policy.networking.k8s.io_baselineadminnetworkpolicies.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,10 @@ spec:
280280
nodes:
281281
description: |-
282282
Nodes defines a way to select a set of nodes in
283-
the cluster. This field follows standard label selector
283+
the cluster (based on the node's labels). It selects
284+
the nodeIPs as the peer type by matching on the IPs
285+
present in the node.Status.Addresses field of the node.
286+
This field follows standard label selector
284287
semantics; if present but empty, it selects all Nodes.
285288
286289
Support: Extended

0 commit comments

Comments
 (0)