-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
connectivity: Extend pod-to-pod encryption tests
Add L7 policy checks. Only for WG, while IPsec is currently suffering from cilium/cilium#33168. Signed-off-by: Marco Iorio <marco.iorio@isovalent.com> Signed-off-by: Martynas Pumputis <m@lambda.lt>
- Loading branch information
1 parent
da6743c
commit cf4696f
Showing
2 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
connectivity/builder/manifests/client-egress-l7-http-from-any.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
apiVersion: "cilium.io/v2" | ||
kind: CiliumNetworkPolicy | ||
metadata: | ||
name: client-egress-l7-http-from-any | ||
spec: | ||
description: "Allow client to GET on echo" | ||
endpointSelector: | ||
matchLabels: | ||
kind: client | ||
egress: | ||
- toEndpoints: | ||
- matchLabels: | ||
kind: echo | ||
toPorts: | ||
- ports: | ||
- port: "8080" | ||
protocol: TCP | ||
rules: | ||
http: | ||
- method: "GET" | ||
path: "/$" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters