Merge pull request #97216 from joejulian/docs_missing_quotes

Re-clarify NetworkPolicy policyTypes in docs
This commit is contained in:
Kubernetes Prow Robot
2021-03-05 11:21:42 -08:00
committed by GitHub
8 changed files with 8 additions and 8 deletions

View File

@@ -77,7 +77,7 @@ type NetworkPolicySpec struct {
Egress []NetworkPolicyEgressRule
// List of rule types that the NetworkPolicy relates to.
// Valid options are "Ingress", "Egress", or "Ingress,Egress".
// Valid options are ["Ingress"], ["Egress"], or ["Ingress", "Egress"].
// If this field is not specified, it will default based on the existence of Ingress or Egress rules;
// policies that contain an Egress section are assumed to affect Egress, and all policies
// (whether or not they contain an Ingress section) are assumed to affect Ingress.