Skip to content

Commit

Permalink
Fix L7NP doc example
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 14056d1 commit cfa717a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/antrea-l7-network-policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,10 @@ spec:
path: "/public/*"
- name: for-public # Allow inbound HTTP GET requests to "/public" from Pods with label "app=client".
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 cfa717a

Please sign in to comment.