Skip to content

Commit

Permalink
Merge pull request #3761 from aojea/kindnet-compat-netpol
Browse files Browse the repository at this point in the history
Kindnetd: use different values than kube-network-policies
  • Loading branch information
k8s-ci-robot authored Nov 5, 2024
2 parents ce26184 + 859303d commit c022884
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 73 deletions.
3 changes: 2 additions & 1 deletion images/kindnetd/cmd/kindnetd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,10 @@ func main() {

cfg := networkpolicy.Config{
FailOpen: true,
QueueID: 100,
QueueID: 101,
NodeName: nodeName,
NetfilterBug1766Fix: true,
NFTableName: "kindnet-network-policies",
}

networkPolicyController, err := networkpolicy.NewController(
Expand Down
4 changes: 2 additions & 2 deletions images/kindnetd/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require (
k8s.io/apimachinery v0.31.1
k8s.io/client-go v0.31.1
k8s.io/klog/v2 v2.130.1
sigs.k8s.io/kube-network-policies v0.6.0
sigs.k8s.io/kube-network-policies v0.6.1-0.20241023163654-4320aa92e3f0
)

require (
Expand Down Expand Up @@ -40,7 +40,7 @@ require (
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/prometheus/client_golang v1.20.4 // indirect
github.com/prometheus/client_golang v1.20.5 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.60.0 // indirect
github.com/prometheus/procfs v0.15.1 // indirect
Expand Down
Loading

0 comments on commit c022884

Please sign in to comment.