mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 18:31:15 +00:00
Support UDP test for netwpol on windows
This commit is contained in:
parent
6989e2169f
commit
ac0f2e48ad
@ -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