Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package weave for openSUSE:Factory checked in at 2021-02-11 12:46:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/weave (Old) and /work/SRC/openSUSE:Factory/.weave.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "weave" Thu Feb 11 12:46:47 2021 rev:10 rq:869516 version:2.8.1 Changes: -------- --- /work/SRC/openSUSE:Factory/weave/weave.changes 2020-09-03 01:14:41.160482288 +0200 +++ /work/SRC/openSUSE:Factory/.weave.new.28504/weave.changes 2021-02-11 12:47:51.673530269 +0100 @@ -1,0 +2,14 @@ +Thu Feb 4 16:16:13 UTC 2021 - Thorsten Kukuk <[email protected]> + +- Add init.sh for init container + +------------------------------------------------------------------- +Tue Feb 2 10:53:41 UTC 2021 - Thorsten Kukuk <[email protected]> + +- Update to version 2.8.1 + - Kubernetes: move kernel and CNI setup to init container + - For K8s, stop running in host PID namespace + - NetworkPolicy: avoid logging dropped packets that were not actually dropped + - Use go 1.15 + +------------------------------------------------------------------- Old: ---- weave-2.7.0.tar.gz New: ---- weave-2.8.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ weave.spec ++++++ --- /var/tmp/diff_new_pack.y8dWoC/_old 2021-02-11 12:47:52.429531370 +0100 +++ /var/tmp/diff_new_pack.y8dWoC/_new 2021-02-11 12:47:52.433531376 +0100 @@ -1,7 +1,7 @@ # # spec file for package weave # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: weave -Version: 2.7.0 +Version: 2.8.1 Release: 0 Summary: Pod Network Add-On License: Apache-2.0 @@ -32,7 +32,7 @@ Patch1: disable-iptables-setup.patch BuildRequires: binutils-gold BuildRequires: libpcap-devel -BuildRequires: golang(API) >= 1.13 +BuildRequires: golang(API) >= 1.15 ExcludeArch: s390 %{ix86} %description @@ -113,6 +113,7 @@ mkdir -p %{buildroot}/weavedb install -m 0755 prog/weave-kube/launch.sh %{buildroot}/home/weave/ +install -m 0755 prog/weave-kube/init.sh %{buildroot}/home/weave/ install -m 0755 prog/kube-utils/kube-utils %{buildroot}/home/weave/ install -m 0755 prog/weaver/weaver %{buildroot}/home/weave/ install -m 0755 weave %{buildroot}/home/weave/ ++++++ disable-iptables-setup.patch ++++++ --- /var/tmp/diff_new_pack.y8dWoC/_old 2021-02-11 12:47:52.461531417 +0100 +++ /var/tmp/diff_new_pack.y8dWoC/_new 2021-02-11 12:47:52.461531417 +0100 @@ -1,7 +1,8 @@ ---- a/prog/weave-kube/launch.sh -+++ b/prog/weave-kube/launch.sh 2020/03/09 14:39:53 -@@ -52,7 +52,7 @@ - [ -z "$NOT_EXIST" ] || (echo "\"xt_set\" does not exist" >&2 && return 1) +diff -urN weave-2.8.1.orig/prog/weave-kube/launch.sh weave-2.8.1/prog/weave-kube/launch.sh +--- weave-2.8.1.orig/prog/weave-kube/launch.sh 2021-01-25 11:55:30.000000000 +0100 ++++ weave-2.8.1/prog/weave-kube/launch.sh 2021-02-02 11:46:39.505699795 +0100 +@@ -34,7 +34,7 @@ + fi } -setup_iptables_backend @@ -9,8 +10,9 @@ # Default if not supplied - same as weave net default IPALLOC_RANGE=${IPALLOC_RANGE:-10.32.0.0/12} ---- a/prog/weave-npc/launch.sh -+++ b/prog/weave-npc/launch.sh 2020/03/09 14:40:07 +diff -urN weave-2.8.1.orig/prog/weave-npc/launch.sh weave-2.8.1/prog/weave-npc/launch.sh +--- weave-2.8.1.orig/prog/weave-npc/launch.sh 2021-01-25 11:55:30.000000000 +0100 ++++ weave-2.8.1/prog/weave-npc/launch.sh 2021-02-02 11:46:39.505699795 +0100 @@ -30,7 +30,7 @@ fi } ++++++ weave-2.7.0.tar.gz -> weave-2.8.1.tar.gz ++++++ /work/SRC/openSUSE:Factory/weave/weave-2.7.0.tar.gz /work/SRC/openSUSE:Factory/.weave.new.28504/weave-2.8.1.tar.gz differ: char 12, line 1 ++++++ weave-daemonset-k8s-1.11.yaml ++++++ --- /var/tmp/diff_new_pack.y8dWoC/_old 2021-02-11 12:47:52.517531498 +0100 +++ /var/tmp/diff_new_pack.y8dWoC/_new 2021-02-11 12:47:52.517531498 +0100 @@ -118,17 +118,39 @@ labels: name: weave-net spec: + initContainers: + - name: weave-init + image: 'weaveworks/weave-kube:2.8.1' + command: + - /home/weave/init.sh + env: + securityContext: + privileged: true + volumeMounts: + - name: cni-bin + mountPath: /host/opt + - name: cni-bin2 + mountPath: /host/home + - name: cni-conf + mountPath: /host/etc + - name: lib-modules + mountPath: /lib/modules + - name: xtables-lock + mountPath: /run/xtables.lock + readOnly: false containers: - name: weave command: - /home/weave/launch.sh env: + - name: INIT_CONTAINER + value: "true" - name: HOSTNAME valueFrom: fieldRef: apiVersion: v1 fieldPath: spec.nodeName - image: 'weaveworks/weave-kube:2.7.0' + image: 'weaveworks/weave-kube:2.8.1' readinessProbe: httpGet: host: 127.0.0.1 @@ -142,16 +164,12 @@ volumeMounts: - name: weavedb mountPath: /weavedb - - name: cni-bin - mountPath: /host/opt - - name: cni-bin2 - mountPath: /host/home - - name: cni-conf - mountPath: /host/etc - name: dbus mountPath: /host/var/lib/dbus - - name: lib-modules - mountPath: /lib/modules + readOnly: true + - mountPath: /host/etc/machine-id + name: cni-machine-id + readOnly: true - name: xtables-lock mountPath: /run/xtables.lock readOnly: false @@ -162,7 +180,7 @@ fieldRef: apiVersion: v1 fieldPath: spec.nodeName - image: 'weaveworks/weave-npc:2.7.0' + image: 'weaveworks/weave-npc:2.8.1' #npc-args resources: requests: @@ -175,7 +193,7 @@ readOnly: false hostNetwork: true dnsPolicy: ClusterFirstWithHostNet - hostPID: true + hostPID: false restartPolicy: Always securityContext: seLinuxOptions: {} @@ -198,6 +216,9 @@ - name: cni-conf hostPath: path: /etc + - name: cni-machine-id + hostPath: + path: /etc/machine-id - name: dbus hostPath: path: /var/lib/dbus
