Skip to content

Commit 318d2a8

Browse files
author
Jexf
authored
Update Namespace match type to Self in antrea network policy doc. (#3092)
Fixes: #3091 Signed-off-by: Wu zhengdong zhengdong.wu@transwarp.io
1 parent 0a60d73 commit 318d2a8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/antrea-network-policy.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ spec:
313313
- action: Pass
314314
from:
315315
- namespaces:
316-
match: self # Skip ACNP evaluation for traffic from Pods in the same Namespace
316+
match: Self # Skip ACNP evaluation for traffic from Pods in the same Namespace
317317
name: PassFromSameNS
318318
enableLogging: false
319319
- action: Drop
@@ -325,7 +325,7 @@ spec:
325325
- action: Pass
326326
to:
327327
- namespaces:
328-
match: self # Skip ACNP evaluation for traffic to Pods in the same Namespace
328+
match: Self # Skip ACNP evaluation for traffic to Pods in the same Namespace
329329
name: PassToSameNS
330330
enableLogging: false
331331
- action: Drop
@@ -544,7 +544,7 @@ particular Namespaces.
544544

545545
**namespaces**: A `namespaces` field allows users to perform advanced matching on
546546
Namespace objects which cannot be done via label selectors. Currently, the
547-
`namespaces` field has only one matching strategy, `self`. If set to `self`, it indicates
547+
`namespaces` field has only one matching strategy, `Self`. If set to `Self`, it indicates
548548
that the corresponding `podSelector` (or all Pods if `podSelector` is not set)
549549
should only select Pods belonging to the same Namespace as the workload targeted
550550
(either through a policy-level AppliedTo or a rule-level Applied-To) by the current

0 commit comments

Comments
 (0)