Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/e2e/network/netpol/network_policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ var _ = common.SIGDescribe("Netpol [LinuxOnly]", func() {
},
{
Protocol: &protocolUDP,
Port: &intstr.IntOrString{Type: intstr.Int, IntVal: 53},
Port: &intstr.IntOrString{Type: intstr.Int, IntVal: 5353},
},
},
},
Expand Down
10 changes: 5 additions & 5 deletions test/e2e/network/netpol/policies.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ func GetAllowEgressByPort(name string, port *intstr.IntOrString) *networkingv1.N
{Port: port},
{
Protocol: &protocolUDP,
Port: &intstr.IntOrString{Type: intstr.Int, IntVal: 53},
Port: &intstr.IntOrString{Type: intstr.Int, IntVal: 5353},
},
},
},
Expand Down Expand Up @@ -208,7 +208,7 @@ func GetDenyAllWithEgressDNS() *networkingv1.NetworkPolicy {
Ports: []networkingv1.NetworkPolicyPort{
{
Protocol: &protocolUDP,
Port: &intstr.IntOrString{Type: intstr.Int, IntVal: 53},
Port: &intstr.IntOrString{Type: intstr.Int, IntVal: 5353},
},
},
},
Expand Down Expand Up @@ -442,7 +442,7 @@ func GetAllowEgressByNamespaceAndPod(name string, targetLabels map[string]string
Ports: []networkingv1.NetworkPolicyPort{
{
Protocol: &protocolUDP,
Port: &intstr.IntOrString{Type: intstr.Int, IntVal: 53},
Port: &intstr.IntOrString{Type: intstr.Int, IntVal: 5353},
},
},
},
Expand Down Expand Up @@ -511,7 +511,7 @@ func GetAllowEgressByCIDR(podname string, podserverCIDR string) *networkingv1.Ne
Ports: []networkingv1.NetworkPolicyPort{
{
Protocol: &protocolUDP,
Port: &intstr.IntOrString{Type: intstr.Int, IntVal: 53},
Port: &intstr.IntOrString{Type: intstr.Int, IntVal: 5353},
},
},
},
Expand Down Expand Up @@ -550,7 +550,7 @@ func GetAllowEgressByCIDRExcept(podname string, podserverCIDR string, except []s
Ports: []networkingv1.NetworkPolicyPort{
{
Protocol: &protocolUDP,
Port: &intstr.IntOrString{Type: intstr.Int, IntVal: 53},
Port: &intstr.IntOrString{Type: intstr.Int, IntVal: 5353},
},
},
},
Expand Down