Skip to content

Commit

Permalink
Fix above doc example based on description
Browse files Browse the repository at this point in the history
Signed-off-by: Qiyue Yao <yaoq@vmware.com>
  • Loading branch information
qiyueyao committed Feb 22, 2024
1 parent cfa717a commit 14d69df
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions docs/antrea-l7-network-policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,8 @@ spec:
path: "/admin/*"
- http:
path: "/public/*"
- name: for-public # Allow inbound HTTP GET requests to "/public" from Pods with label "app=client".
- name: for-public # Allow inbound HTTP GET requests to "/public" from Pods.
action: Allow # All other inbound traffic will be automatically dropped.
from:
- podSelector:
matchLabels:
app: client
l7Protocols:
- http:
path: "/public/*"
Expand Down

0 comments on commit 14d69df

Please sign in to comment.