mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
Merge pull request #107525 from hxietkg/hxietkg/support-udp-for-windows
Support UDP test for netwpol on windows
This commit is contained in:
commit
dee90598d2
@ -42,7 +42,7 @@ type Model struct {
|
||||
|
||||
// NewWindowsModel returns a model specific to windows testing.
|
||||
func NewWindowsModel(namespaces []string, podNames []string, ports []int32, dnsDomain string) *Model {
|
||||
return NewModel(namespaces, podNames, ports, []v1.Protocol{v1.ProtocolTCP}, dnsDomain)
|
||||
return NewModel(namespaces, podNames, ports, []v1.Protocol{v1.ProtocolTCP, v1.ProtocolUDP}, dnsDomain)
|
||||
}
|
||||
|
||||
// NewModel instantiates a model based on:
|
||||
|
Loading…
Reference in New Issue
Block a user