Skip to content

Commit

Permalink
connectivity tests: support IPv6 in ICMP-related netpols
Browse files Browse the repository at this point in the history
This commit expands the ICMP-related netpols used for the connectivity
tests to allow both IPv4 ICMP Echo Requests (type 8) and IPV6 ICMP Echo
Requests (type 128), to ensure that the tests run correctly also on
IPv6-only clusters.

Signed-off-by: Marco Iorio <[email protected]>
  • Loading branch information
giorio94 authored and tklauser committed Feb 21, 2023
1 parent 07853a3 commit a550cff
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion connectivity/manifests/echo-ingress-icmp-deny.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,7 @@ spec:
other: client
icmps:
- fields:
- type: 8
- family: IPv4
type: 8
- family: IPv6
type: 128
5 changes: 4 additions & 1 deletion connectivity/manifests/echo-ingress-icmp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,7 @@ spec:
other: client
icmps:
- fields:
- type: 8
- family: IPv4
type: 8
- family: IPv6
type: 128

0 comments on commit a550cff

Please sign in to comment.