kube-ovn add disable-nm-syncer patch (#449)

Signed-off-by: Andrei Kvapil <kvapss@gmail.com>

Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
This commit is contained in:
Andrei Kvapil
2024-10-21 22:58:02 +02:00
committed by GitHub
parent 1ec10165b0
commit 908102773a
2 changed files with 16 additions and 0 deletions

View File

@@ -7,7 +7,9 @@ ARG COMMIT_REF=e1310e1
WORKDIR /source
COPY patches /patches
RUN wget -O- https://github.com/kubeovn/kube-ovn/archive/${COMMIT_REF}.tar.gz | tar xzf - --strip-components=1
RUN git apply /patches/*.diff
RUN sed -i 's|-z now|-z now -static|' Makefile
RUN make build-go

View File

@@ -0,0 +1,14 @@
diff --git a/pkg/daemon/controller_linux.go b/pkg/daemon/controller_linux.go
index 07014d11..7ff19ae0 100644
--- a/pkg/daemon/controller_linux.go
+++ b/pkg/daemon/controller_linux.go
@@ -118,9 +118,6 @@ func (c *Controller) initRuntime() error {
c.k8siptables[kubeovnv1.ProtocolIPv6] = k8siptables.New(c.k8sExec, k8siptables.ProtocolIPv6)
}
- c.nmSyncer = newNetworkManagerSyncer()
- c.nmSyncer.Run(c.transferAddrsAndRoutes)
-
return nil
}