Update code comment for NetworkPolicyPeer

NetworkPolicyPeer in types has an outdated comment from the
times when it only supported ingress rules. Update the comment
to reflect the current usage of the field.

Kubernetes-commit: 7cab5753deab2a73adcdb6f6e0694f9996ac5b4a
This commit is contained in:
Abhishek Raut 2020-03-10 14:18:22 -07:00 committed by Kubernetes Publisher
parent f9874ff36b
commit 4ef95989c3
1 changed files with 1 additions and 1 deletions

View File

@ -13744,7 +13744,7 @@
]
},
"io.k8s.api.networking.v1.NetworkPolicyPeer": {
"description": "NetworkPolicyPeer describes a peer to allow traffic from. Only certain combinations of fields are allowed",
"description": "NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed",
"properties": {
"ipBlock": {
"$ref": "#/definitions/io.k8s.api.networking.v1.IPBlock",