- Fix a race condition in Kubernetes addon when reclaiming IP addresses after node deletion #3724, #3716 - Buffer events so Docker won't drop them, and Weave Net can clean up after dead containers #3432, #3705 - Weave reconnect occasionally fails after network interface disconnect #3666, #3669, #3676 - Ingress NetworkPolicy would accepts all traffic when specifying both IPBlock and port #3653, #3654 - Support both podSelector and namespaceSelector in NetworkPolicy #3312, #3647 - Only add default-drop egress rule if network policies are in use #3639 - Manifests use 'apps/v1' rather than deprecated 'apps/v1beta1' #3660 - Avoid Weave Net pods being evicted by setting priorityClassName: system-node-critical #3697 - Manifests use recommended DNS policy ClusterFirstWithHostNet #3692 - Weave Net now tolerates 'NoExecute' taint #3655 - Allow extra arguments to NetworkPolicy controller to be set in an environment variable #3683 - Stop reporting a failure to connect to self #3454, #3585 - Minor reduction in log noise when reclaiming IPs #3710 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/weave?expand=0&rev=6
30 lines
1.4 KiB
Diff
30 lines
1.4 KiB
Diff
--- weave-2.6.0/Makefile.orig 2019-11-05 16:12:30.000000000 +0000
|
|
+++ weave-2.6.0/Makefile 2019-11-06 15:08:09.303969059 +0000
|
|
@@ -3,7 +3,7 @@
|
|
|
|
# If you can use docker without being root, you can do "make SUDO="
|
|
SUDO=$(shell docker info >/dev/null 2>&1 || echo "sudo -E")
|
|
-BUILD_IN_CONTAINER=true
|
|
+BUILD_IN_CONTAINER=false
|
|
RM=--rm
|
|
RUN_FLAGS=-ti
|
|
COVERAGE=
|
|
@@ -142,7 +142,7 @@
|
|
NETWORKTESTER_EXE=test/images/network-tester/webserver
|
|
|
|
# All binaries together in a list
|
|
-EXES=$(WEAVER_EXE) $(SIGPROXY_EXE) $(KUBEUTILS_EXE) $(WEAVENPC_EXE) $(WEAVEWAIT_EXE) $(WEAVEWAIT_NOOP_EXE) $(WEAVEWAIT_NOMCAST_EXE) $(WEAVEUTIL_EXE) $(RUNNER_EXE) $(TEST_TLS_EXE) $(NETWORKTESTER_EXE)
|
|
+EXES=$(WEAVER_EXE) $(SIGPROXY_EXE) $(KUBEUTILS_EXE) $(WEAVENPC_EXE) $(WEAVEWAIT_EXE) $(WEAVEWAIT_NOOP_EXE) $(WEAVEWAIT_NOMCAST_EXE) $(WEAVEUTIL_EXE)
|
|
|
|
# These stamp files are used to mark the current state of the build; whether an image has been built or not
|
|
BUILD_UPTODATE=.build.uptodate
|
|
@@ -180,7 +180,7 @@
|
|
# -X main.version for telling the Go binary which version it is,
|
|
# -s -w drop symbol tables used by debuggers (not Go's internal symbol info)
|
|
# -tags "osusergo netgo" to use native Go UID and DNS implementations
|
|
-BUILD_FLAGS=-ldflags "-extldflags -static -X main.version=$(WEAVE_VERSION) -s -w" -tags "osusergo netgo"
|
|
+BUILD_FLAGS=-mod vendor -v -buildmode=pie -ldflags "-X main.version=$(WEAVE_VERSION)" -tags "osusergo netgo"
|
|
|
|
PACKAGE_BASE=$(shell go list -e ./)
|
|
|