mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
Remove incorrect docs about unset fields in NetworkPolicyPeer
This commit is contained in:
parent
9fe15e7376
commit
c3f4f85889
@ -207,14 +207,12 @@ type NetworkPolicyPeer struct {
|
||||
|
||||
// This is a label selector which selects Pods in this namespace.
|
||||
// This field follows standard unversioned.LabelSelector semantics.
|
||||
// If not provided, this selector selects no pods.
|
||||
// If present but empty, this selector selects all pods in this namespace.
|
||||
PodSelector *unversioned.LabelSelector `json:"podSelector,omitempty"`
|
||||
|
||||
// Selects Namespaces using cluster scoped-labels. This
|
||||
// matches all pods in all namespaces selected by this label selector.
|
||||
// This field follows standard unversioned.LabelSelector semantics.
|
||||
// If omited, this selector selects no namespaces.
|
||||
// If present but empty, this selector selects all namespaces.
|
||||
NamespaceSelector *unversioned.LabelSelector `json:"namespaceSelector,omitempty"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user