diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ccba14ec..8887175e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -114,6 +114,7 @@ jobs: } - uses: azure/setup-kubectl@v4 - name: Install minikube + timeout-minutes: 30 uses: medyagh/setup-minikube@latest with: cache: true diff --git a/build/Dockerfile b/build/Dockerfile index dbd185d5..8d496ab0 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -1,4 +1,4 @@ -FROM envoyproxy/envoy:v1.25.0 AS envoy +FROM envoyproxy/envoy:v1.34.1 AS envoy FROM golang:1.23 AS builder ARG BASE=github.com/wencaiwulue/kubevpn diff --git a/pkg/controlplane/watcher.go b/pkg/controlplane/watcher.go index 1c242749..23bd7e43 100644 --- a/pkg/controlplane/watcher.go +++ b/pkg/controlplane/watcher.go @@ -21,7 +21,7 @@ type NotifyMessage struct { } func Watch(watcher *fsnotify.Watcher, filename string, notifyCh chan<- NotifyMessage) error { - ticker := time.NewTicker(time.Second * 5) + ticker := time.NewTicker(time.Second * 2) defer ticker.Stop() for { select {