commit flannel for openSUSE:Factory
Hello community, here is the log from the commit of package flannel for openSUSE:Factory checked in at 2020-08-20 22:24:06 Comparing /work/SRC/openSUSE:Factory/flannel (Old) and /work/SRC/openSUSE:Factory/.flannel.new.3399 (New) Package is "flannel" Thu Aug 20 22:24:06 2020 rev:19 rq:827277 version:0.12.0 Changes: --- /work/SRC/openSUSE:Factory/flannel/flannel.changes 2019-11-03 10:55:53.586812063 +0100 +++ /work/SRC/openSUSE:Factory/.flannel.new.3399/flannel.changes 2020-08-20 22:24:56.079872042 +0200 @@ -1,0 +2,21 @@ +Sun Aug 16 17:14:50 UTC 2020 - Dirk Mueller + +- update to 0.12.0: + * fix deleteLease + * Use publicIP lookup iface if --public-ip indicated + * kubernetes 1.16 cni error + * Add cniVersion to general CNI plugin configuration. + * Needs to clear NodeNetworkUnavailable flag on Kubernetes + * Replaces gorillalabs go-powershell with bhendo/go-powershell + * Make VXLAN device learning attribute configurable + * change nodeSelector to nodeAffinity and schedule the pod to linux node + * This PR adds the cni version to the cni-conf.yaml inside the kube-flannel-cfg configmap + * EnableNonPersistent flag for Windows Overlay networks + * snap package. + * Update lease with DR Mac + * main.go: add the "net-config-path" flag + * Deploy Flannel with unprivileged PSP + * Enable local host to local pod connectivity in Windows VXLAN + * Update hcsshim for HostRoute policy in Windows VXLAN + +--- Old: flannel-0.11.0.tar.gz New: v0.12.0.tar.gz Other differences: -- ++ flannel.spec ++ --- /var/tmp/diff_new_pack.6xZjo8/_old 2020-08-20 22:24:59.995873873 +0200 +++ /var/tmp/diff_new_pack.6xZjo8/_new 2020-08-20 22:24:59.999873875 +0200 @@ -24,22 +24,20 @@ %define flannel_container_path registry.opensuse.org/kubic/flannel Name: flannel -Version:0.11.0 +Version:0.12.0 Release:0 Summary:An etcd backed network fabric for containers License:Apache-2.0 Group: System/Management Url:https://github.com/coreos/flannel -Source: %{name}-%{version}.tar.gz +Source: https://github.com/coreos/flannel/archive/v%{version}.tar.gz Source1:kube-flannel.yaml Requires: iproute2 # arp is used: Requires: net-tools-deprecated Requires: iptables BuildRequires: golang-packaging -BuildRequires: golang(API) >= 1.11 -# go1.11.3 contains sec. fixes bsc#1118897(CVE-2018-16873) bsc#1118897(CVE-2018-16873) bsc#1118899(CVE-2018-16875) -BuildRequires: go1.11 >= 1.11.3 +BuildRequires: golang(API) >= 1.12 BuildRoot: %{_tmppath}/%{name}-%{version}-build ExcludeArch:s390 %{go_nostrip}
commit flannel for openSUSE:Factory
Hello community, here is the log from the commit of package flannel for openSUSE:Factory checked in at 2019-11-03 10:55:51 Comparing /work/SRC/openSUSE:Factory/flannel (Old) and /work/SRC/openSUSE:Factory/.flannel.new.2990 (New) Package is "flannel" Sun Nov 3 10:55:51 2019 rev:18 rq:743846 version:0.11.0 Changes: --- /work/SRC/openSUSE:Factory/flannel/flannel.changes 2019-10-23 15:48:13.066523866 +0200 +++ /work/SRC/openSUSE:Factory/.flannel.new.2990/flannel.changes 2019-11-03 10:55:53.586812063 +0100 @@ -1,0 +2,6 @@ +Tue Oct 29 13:30:38 UTC 2019 - Guillaume GARDET + +- Use Tumbleweed Kubic flannel containers instead of devel:kubic + containers. This fixes aarch64 and ppc64* (boo#1152185) + +--- Other differences: -- ++ flannel.spec ++ --- /var/tmp/diff_new_pack.y38TB2/_old 2019-11-03 10:55:54.766813412 +0100 +++ /var/tmp/diff_new_pack.y38TB2/_new 2019-11-03 10:55:54.770813416 +0100 @@ -20,6 +20,9 @@ %define _fillupdir /var/adm/fillup-templates %endif +# Use Tumbleweed Kubic containers +%define flannel_container_path registry.opensuse.org/kubic/flannel + Name: flannel Version:0.11.0 Release:0 @@ -84,7 +87,7 @@ mkdir -p %{buildroot}%{_datadir}/k8s-yaml/flannel #install -m 0644 Documentation/kube-flannel.yml %{buildroot}%{_datadir}/k8s-yaml/flannel/kube-flannel.yaml install -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/k8s-yaml/flannel/kube-flannel.yaml -sed -i -e 's|image: quay.io/coreos/flannel:.*|image: registry.opensuse.org/devel/kubic/containers/container/kubic/flannel:%{version}|g' %{buildroot}%{_datadir}/k8s-yaml/flannel/kube-flannel.yaml +sed -i -e 's|image: quay.io/coreos/flannel:.*|image: %{flannel_container_path}:%{version}|g' %{buildroot}%{_datadir}/k8s-yaml/flannel/kube-flannel.yaml sed -i -e 's|/opt/bin/flanneld|/usr/sbin/flanneld|g' %{buildroot}%{_datadir}/k8s-yaml/flannel/kube-flannel.yaml # Move
commit flannel for openSUSE:Factory
Hello community, here is the log from the commit of package flannel for openSUSE:Factory checked in at 2019-10-23 15:48:11 Comparing /work/SRC/openSUSE:Factory/flannel (Old) and /work/SRC/openSUSE:Factory/.flannel.new.2352 (New) Package is "flannel" Wed Oct 23 15:48:11 2019 rev:17 rq:737414 version:0.11.0 Changes: --- /work/SRC/openSUSE:Factory/flannel/flannel.changes 2019-07-26 12:36:59.754038275 +0200 +++ /work/SRC/openSUSE:Factory/.flannel.new.2352/flannel.changes 2019-10-23 15:48:13.066523866 +0200 @@ -1,0 +2,16 @@ +Fri Oct 11 07:46:20 UTC 2019 - Fabian Vogt + +- It's apps/v1, not apps/v1beta1 +- Fix some more typos + +--- +Thu Oct 10 15:03:40 UTC 2019 - Richard Brown + +- Fix typo in updated flannel manifest + +--- +Thu Oct 10 13:45:11 UTC 2019 - Richard Brown + +- Update flannel manifest to match upstream and support k8s 1.16 API + +--- Other differences: -- ++ kube-flannel.yaml ++ --- /var/tmp/diff_new_pack.nO8z2P/_old 2019-10-23 15:48:14.158525046 +0200 +++ /var/tmp/diff_new_pack.nO8z2P/_new 2019-10-23 15:48:14.158525046 +0200 @@ -1,5 +1,5 @@ --- -apiVersion: extensions/v1beta1 +apiVersion: policy/v1beta1 kind: PodSecurityPolicy metadata: name: psp.flannel.unprivileged @@ -131,7 +131,7 @@ } } --- -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: DaemonSet metadata: name: kube-flannel-ds-amd64 @@ -140,15 +140,29 @@ tier: node app: flannel spec: + selector: +matchLabels: + app: flannel template: metadata: labels: tier: node app: flannel spec: + affinity: +nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: +nodeSelectorTerms: + - matchExpressions: + - key: beta.kubernetes.io/os +operator: In +values: + - linux + - key: beta.kubernetes.io/arch +operator: In +values: + - amd64 hostNetwork: true - nodeSelector: -beta.kubernetes.io/arch: amd64 tolerations: - operator: Exists effect: NoSchedule @@ -211,7 +225,7 @@ configMap: name: kube-flannel-cfg --- -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: DaemonSet metadata: name: kube-flannel-ds-arm64 @@ -220,15 +234,29 @@ tier: node app: flannel spec: + selector: +matchLabels: + app: flannel template: metadata: labels: tier: node app: flannel spec: + affinity: +nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: +nodeSelectorTerms: + - matchExpressions: + - key: beta.kubernetes.io/os +operator: In +values: + - linux + - key: beta.kubernetes.io/arch +operator: In +values: + - arm64 hostNetwork: true - nodeSelector: -beta.kubernetes.io/arch: arm64 tolerations: - operator: Exists effect: NoSchedule @@ -291,7 +319,7 @@ configMap: name: kube-flannel-cfg --- -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: DaemonSet metadata: name: kube-flannel-ds-arm @@ -300,15 +328,29 @@ tier: node app: flannel spec: + selector: +matchLabels: + app: flannel template: metadata: labels: tier: node app: flannel spec: + affinity: +nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: +nodeSelectorTerms: + - matchExpressions: + - key: beta.kubernetes.io/os +operator: In +values: + - linux + - key: beta.kubernetes.io/arch +operator: In +values: + - arm hostNetwork: true - nodeSelector: -beta.kubernetes.io/arch: arm tolerations: - operator: Exists effect: NoSchedule @@ -371,7 +413,7 @@ configMap: name: kube-flannel-cfg --- -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: DaemonSet metadata: name: kube-flannel-ds-ppc64le @@ -380,15 +422,29 @@ tier: node app: flannel spec: + selector: +matchLabels: + app: flannel
commit flannel for openSUSE:Factory
Hello community, here is the log from the commit of package flannel for openSUSE:Factory checked in at 2019-07-26 12:36:55 Comparing /work/SRC/openSUSE:Factory/flannel (Old) and /work/SRC/openSUSE:Factory/.flannel.new.4126 (New) Package is "flannel" Fri Jul 26 12:36:55 2019 rev:16 rq:716819 version:0.11.0 Changes: --- /work/SRC/openSUSE:Factory/flannel/flannel.changes 2019-06-27 15:52:04.435810756 +0200 +++ /work/SRC/openSUSE:Factory/.flannel.new.4126/flannel.changes 2019-07-26 12:36:59.754038275 +0200 @@ -1,0 +2,10 @@ +Fri Jul 19 10:56:20 CEST 2019 - ku...@suse.de + +- Set cni version in flannel manifest + +--- +Thu Jul 18 09:06:33 UTC 2019 - Thorsten Kukuk + +- Use current kube-flannel.yaml from git to fix DNS problems + +--- New: kube-flannel.yaml Other differences: -- ++ flannel.spec ++ --- /var/tmp/diff_new_pack.PhyQrX/_old 2019-07-26 12:37:01.706036874 +0200 +++ /var/tmp/diff_new_pack.PhyQrX/_new 2019-07-26 12:37:01.710036872 +0200 @@ -28,6 +28,7 @@ Group: System/Management Url:https://github.com/coreos/flannel Source: %{name}-%{version}.tar.gz +Source1:kube-flannel.yaml Requires: iproute2 # arp is used: Requires: net-tools-deprecated @@ -81,7 +82,8 @@ # Install provided yaml file to download and run the flannel container mkdir -p %{buildroot}%{_datadir}/k8s-yaml/flannel -install -m 0644 Documentation/kube-flannel.yml %{buildroot}%{_datadir}/k8s-yaml/flannel/kube-flannel.yaml +#install -m 0644 Documentation/kube-flannel.yml %{buildroot}%{_datadir}/k8s-yaml/flannel/kube-flannel.yaml +install -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/k8s-yaml/flannel/kube-flannel.yaml sed -i -e 's|image: quay.io/coreos/flannel:.*|image: registry.opensuse.org/devel/kubic/containers/container/kubic/flannel:%{version}|g' %{buildroot}%{_datadir}/k8s-yaml/flannel/kube-flannel.yaml sed -i -e 's|/opt/bin/flanneld|/usr/sbin/flanneld|g' %{buildroot}%{_datadir}/k8s-yaml/flannel/kube-flannel.yaml ++ kube-flannel.yaml ++ --- apiVersion: extensions/v1beta1 kind: PodSecurityPolicy metadata: name: psp.flannel.unprivileged annotations: seccomp.security.alpha.kubernetes.io/allowedProfileNames: docker/default seccomp.security.alpha.kubernetes.io/defaultProfileName: docker/default apparmor.security.beta.kubernetes.io/allowedProfileNames: runtime/default apparmor.security.beta.kubernetes.io/defaultProfileName: runtime/default spec: privileged: false volumes: - configMap - secret - emptyDir - hostPath allowedHostPaths: - pathPrefix: "/etc/cni/net.d" - pathPrefix: "/etc/kube-flannel" - pathPrefix: "/run/flannel" readOnlyRootFilesystem: false # Users and groups runAsUser: rule: RunAsAny supplementalGroups: rule: RunAsAny fsGroup: rule: RunAsAny # Privilege Escalation allowPrivilegeEscalation: false defaultAllowPrivilegeEscalation: false # Capabilities allowedCapabilities: ['NET_ADMIN'] defaultAddCapabilities: [] requiredDropCapabilities: [] # Host namespaces hostPID: false hostIPC: false hostNetwork: true hostPorts: - min: 0 max: 65535 # SELinux seLinux: # SELinux is unsed in CaaSP rule: 'RunAsAny' --- kind: ClusterRole apiVersion: rbac.authorization.k8s.io/v1beta1 metadata: name: flannel rules: - apiGroups: ['extensions'] resources: ['podsecuritypolicies'] verbs: ['use'] resourceNames: ['psp.flannel.unprivileged'] - apiGroups: - "" resources: - pods verbs: - get - apiGroups: - "" resources: - nodes verbs: - list - watch - apiGroups: - "" resources: - nodes/status verbs: - patch --- kind: ClusterRoleBinding apiVersion: rbac.authorization.k8s.io/v1beta1 metadata: name: flannel roleRef: apiGroup: rbac.authorization.k8s.io kind: ClusterRole name: flannel subjects: - kind: ServiceAccount name: flannel namespace: kube-system --- apiVersion: v1 kind: ServiceAccount metadata: name: flannel namespace: kube-system --- kind: ConfigMap apiVersion: v1 metadata: name: kube-flannel-cfg namespace: kube-system labels: tier: node app: flannel data: cni-conf.json: | { "name": "cbr0", "cniVersion": "0.3.1", "plugins": [ { "type": "flannel", "delegate": { "hairpinMode": true, "isDefaultGateway": true } }, { "type": "portmap", "capabilities": { "portMappings": true } } ]
commit flannel for openSUSE:Factory
Hello community, here is the log from the commit of package flannel for openSUSE:Factory checked in at 2019-06-27 15:52:03 Comparing /work/SRC/openSUSE:Factory/flannel (Old) and /work/SRC/openSUSE:Factory/.flannel.new.4615 (New) Package is "flannel" Thu Jun 27 15:52:03 2019 rev:15 rq:710827 version:0.11.0 Changes: --- /work/SRC/openSUSE:Factory/flannel/flannel.changes 2019-06-06 18:19:46.876642825 +0200 +++ /work/SRC/openSUSE:Factory/.flannel.new.4615/flannel.changes 2019-06-27 15:52:04.435810756 +0200 @@ -1,0 +2,5 @@ +Sun Jun 9 15:24:02 UTC 2019 - Jan Engelhardt + +- Add missing words in descriptions. + +--- Other differences: -- ++ flannel.spec ++ --- /var/tmp/diff_new_pack.t7FmDh/_old 2019-06-27 15:52:05.215812006 +0200 +++ /var/tmp/diff_new_pack.t7FmDh/_new 2019-06-27 15:52:05.215812006 +0200 @@ -46,7 +46,7 @@ container runtimes. Platforms like Google's Kubernetes assume that each container (pod) has a -unique, routable IP inside the cluster. The advantage of this model is that it +unique, routable IP address inside the cluster. The advantage of this model is that it reduces the complexity of doing port mapping. This package contains the binary to be included into a container image @@ -64,7 +64,7 @@ container runtimes. Platforms like Google's Kubernetes assume that each container (pod) has a -unique, routable IP inside the cluster. The advantage of this model is that it +unique, routable IP address inside the cluster. The advantage of this model is that it reduces the complexity of doing port mapping. %prep
commit flannel for openSUSE:Factory
Hello community, here is the log from the commit of package flannel for openSUSE:Factory checked in at 2019-06-06 18:19:46 Comparing /work/SRC/openSUSE:Factory/flannel (Old) and /work/SRC/openSUSE:Factory/.flannel.new.4811 (New) Package is "flannel" Thu Jun 6 18:19:46 2019 rev:14 rq:708156 version:0.11.0 Changes: --- /work/SRC/openSUSE:Factory/flannel/flannel.changes 2018-12-28 12:34:00.136018704 +0100 +++ /work/SRC/openSUSE:Factory/.flannel.new.4811/flannel.changes 2019-06-06 18:19:46.876642825 +0200 @@ -1,0 +2,24 @@ +Thu Jun 6 15:57:32 CEST 2019 - ku...@suse.de + +- Fix path of flanneld in yaml file +- Cleanup filelist + +--- +Tue Apr 9 11:45:05 CEST 2019 - ku...@suse.de + +- Require minimal set of used network utilities + +--- +Mon Apr 8 13:56:16 CEST 2019 - ku...@suse.de + +- Add flannel-k8s-yaml sub-package with the yaml file to deploy + flannel. + +--- +Mon Apr 8 13:24:07 CEST 2019 - ku...@suse.de + +- Update to flannel 0.11.0 +- Drop standalone support, it's only for containers +- Drop use-32-prefix-udp-backend.patch, included upstream + +--- Old: _constraints _service flannel-0.9.1.tar.xz flannel-docker.conf flannel-tmpfiles.conf flanneld.service flanneld.sysconf use-32-prefix-udp-backend.patch New: flannel-0.11.0.tar.gz Other differences: -- ++ flannel.spec ++ --- /var/tmp/diff_new_pack.ApKDYK/_old 2019-06-06 18:19:47.644642599 +0200 +++ /var/tmp/diff_new_pack.ApKDYK/_new 2019-06-06 18:19:47.644642599 +0200 @@ -1,7 +1,7 @@ # # spec file for package flannel # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017, 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,37 +15,31 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - #Compat macro for new _fillupdir macro introduced in Nov 2017 %if ! %{defined _fillupdir} %define _fillupdir /var/adm/fillup-templates %endif Name: flannel -Version:0.9.1 +Version:0.11.0 Release:0 Summary:An etcd backed network fabric for containers License:Apache-2.0 Group: System/Management Url:https://github.com/coreos/flannel -Source: %{name}-%{version}.tar.xz -Source1:flanneld.sysconf -Source2:flanneld.service -Source3:flannel-docker.conf -Source4:flannel-tmpfiles.conf -Patch1: use-32-prefix-udp-backend.patch +Source: %{name}-%{version}.tar.gz +Requires: iproute2 +# arp is used: +Requires: net-tools-deprecated +Requires: iptables BuildRequires: golang-packaging -BuildRequires: systemd -BuildRequires: xz BuildRequires: golang(API) >= 1.11 # go1.11.3 contains sec. fixes bsc#1118897(CVE-2018-16873) bsc#1118897(CVE-2018-16873) bsc#1118899(CVE-2018-16875) BuildRequires: go1.11 >= 1.11.3 -Requires(post): %fillup_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build ExcludeArch:s390 %{go_nostrip} %{go_provides} -%{?systemd_requires} %description flannel is a virtual network that gives a subnet to each host for use with @@ -55,9 +49,26 @@ unique, routable IP inside the cluster. The advantage of this model is that it reduces the complexity of doing port mapping. +This package contains the binary to be included into a container image + +%package k8s-yaml +Summary:Kubernetes yaml file to run flannel container +Group: System/Management +BuildArch: noarch + +%description k8s-yaml +This package contains the yaml file requried to download and run the +flannel container in a kubernetes cluster. + +flannel is a virtual network that gives a subnet to each host for use with +container runtimes. + +Platforms like Google's Kubernetes assume that each container (pod) has a +unique, routable IP inside the cluster. The advantage of this model is that it +reduces the complexity of doing port mapping. + %prep %setup -q -%patch1 -p1 %build gofmt -w -r "x -> \"%{version}\"" version/version.go @@ -68,56 +79,25 @@ %{goinstall} rm -rf %{buildroot}/%{_libdir}/go/contrib -# Service -install -D -p -m 0644 %{SOURCE3} %{buildroot}%{_unitdir}/docker.service.d/flannel.conf - -install -D -p -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/flanneld.service -install -d %{buildroot}/%{_sbindir} -ln -sf %{_sbindir}/service
commit flannel for openSUSE:Factory
Hello community, here is the log from the commit of package flannel for openSUSE:Factory checked in at 2018-12-28 12:33:58 Comparing /work/SRC/openSUSE:Factory/flannel (Old) and /work/SRC/openSUSE:Factory/.flannel.new.28833 (New) Package is "flannel" Fri Dec 28 12:33:58 2018 rev:13 rq:660078 version:0.9.1 Changes: --- /work/SRC/openSUSE:Factory/flannel/flannel.changes 2018-12-13 19:49:03.444653385 +0100 +++ /work/SRC/openSUSE:Factory/.flannel.new.28833/flannel.changes 2018-12-28 12:34:00.136018704 +0100 @@ -1,0 +2,16 @@ +Wed Dec 19 16:55:33 UTC 2018 - c...@suse.com + +- Refactor go to go1.11 for BuildRequires + +--- +Wed Dec 19 01:18:01 UTC 2018 - c...@suse.com + +- Updated to a supported version of Go (due to security reasons) + * bsc#1118897 CVE-2018-16873 +go#29230 cmd/go: remote command execution during "go get -u" + * bsc#1118898 CVE-2018-16874 +go#29231 cmd/go: directory traversal in "go get" via curly braces in import paths + * bsc#1118899 CVE-2018-16875 +go#29233 crypto/x509: CPU denial of service + +--- Other differences: -- ++ flannel.spec ++ --- /var/tmp/diff_new_pack.taJsjt/_old 2018-12-28 12:34:00.748018279 +0100 +++ /var/tmp/diff_new_pack.taJsjt/_new 2018-12-28 12:34:00.752018276 +0100 @@ -38,6 +38,8 @@ BuildRequires: systemd BuildRequires: xz BuildRequires: golang(API) >= 1.11 +# go1.11.3 contains sec. fixes bsc#1118897(CVE-2018-16873) bsc#1118897(CVE-2018-16873) bsc#1118899(CVE-2018-16875) +BuildRequires: go1.11 >= 1.11.3 Requires(post): %fillup_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build ExcludeArch:s390
commit flannel for openSUSE:Factory
Hello community, here is the log from the commit of package flannel for openSUSE:Factory checked in at 2018-12-13 19:49:01 Comparing /work/SRC/openSUSE:Factory/flannel (Old) and /work/SRC/openSUSE:Factory/.flannel.new.28833 (New) Package is "flannel" Thu Dec 13 19:49:01 2018 rev:12 rq:657543 version:0.9.1 Changes: --- /work/SRC/openSUSE:Factory/flannel/flannel.changes 2018-06-08 23:14:15.554677886 +0200 +++ /work/SRC/openSUSE:Factory/.flannel.new.28833/flannel.changes 2018-12-13 19:49:03.444653385 +0100 @@ -1,0 +2,5 @@ +Wed Dec 12 12:43:24 UTC 2018 - alvaro.sau...@suse.com + +- Updated to a supported version of Go (due to security reasons) + +--- Other differences: -- ++ flannel.spec ++ --- /var/tmp/diff_new_pack.oW7tJN/_old 2018-12-13 19:49:03.972652703 +0100 +++ /var/tmp/diff_new_pack.oW7tJN/_new 2018-12-13 19:49:03.972652703 +0100 @@ -37,7 +37,7 @@ BuildRequires: golang-packaging BuildRequires: systemd BuildRequires: xz -BuildRequires: golang(API) >= 1.8 +BuildRequires: golang(API) >= 1.11 Requires(post): %fillup_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build ExcludeArch:s390
commit flannel for openSUSE:Factory
Hello community, here is the log from the commit of package flannel for openSUSE:Factory checked in at 2018-06-08 23:14:06 Comparing /work/SRC/openSUSE:Factory/flannel (Old) and /work/SRC/openSUSE:Factory/.flannel.new (New) Package is "flannel" Fri Jun 8 23:14:06 2018 rev:11 rq:614212 version:0.9.1 Changes: --- /work/SRC/openSUSE:Factory/flannel/flannel.changes 2018-05-29 16:53:14.885669995 +0200 +++ /work/SRC/openSUSE:Factory/.flannel.new/flannel.changes 2018-06-08 23:14:15.554677886 +0200 @@ -1,0 +2,5 @@ +Tue Jun 5 09:33:44 UTC 2018 - dcass...@suse.com + +- Make use of %license macro + +--- Other differences: -- ++ flannel.spec ++ --- /var/tmp/diff_new_pack.x89yPa/_old 2018-06-08 23:14:16.402647263 +0200 +++ /var/tmp/diff_new_pack.x89yPa/_new 2018-06-08 23:14:16.406647119 +0200 @@ -99,7 +99,8 @@ %files %defattr(-,root,root) -%doc CONTRIBUTING.md README.md LICENSE DCO NOTICE +%doc CONTRIBUTING.md README.md DCO NOTICE +%license LICENSE %{_sbindir}/flanneld # Service
commit flannel for openSUSE:Factory
Hello community, here is the log from the commit of package flannel for openSUSE:Factory checked in at 2018-05-29 16:53:11 Comparing /work/SRC/openSUSE:Factory/flannel (Old) and /work/SRC/openSUSE:Factory/.flannel.new (New) Package is "flannel" Tue May 29 16:53:11 2018 rev:10 rq:612836 version:0.9.1 Changes: --- /work/SRC/openSUSE:Factory/flannel/flannel.changes 2018-02-02 22:22:20.593704617 +0100 +++ /work/SRC/openSUSE:Factory/.flannel.new/flannel.changes 2018-05-29 16:53:14.885669995 +0200 @@ -1,0 +2,10 @@ +Tue May 29 11:11:34 UTC 2018 - rfernandezlo...@suse.com + +- Add use-32-prefix-udp-backend.patch: backend/udp: Use a /32 prefix for the flannel0 interface + This avoids the kernel's creation of broadcast routes, which prevent + communication from the host with the zeroth subnet to containers on any + other hosts. + +Fixes: bsc#1094364 + +--- New: use-32-prefix-udp-backend.patch Other differences: -- ++ flannel.spec ++ --- /var/tmp/diff_new_pack.3vTI5S/_old 2018-05-29 16:53:18.153549766 +0200 +++ /var/tmp/diff_new_pack.3vTI5S/_new 2018-05-29 16:53:18.157549620 +0200 @@ -33,6 +33,7 @@ Source2:flanneld.service Source3:flannel-docker.conf Source4:flannel-tmpfiles.conf +Patch1: use-32-prefix-udp-backend.patch BuildRequires: golang-packaging BuildRequires: systemd BuildRequires: xz @@ -54,6 +55,7 @@ %prep %setup -q +%patch1 -p1 %build gofmt -w -r "x -> \"%{version}\"" version/version.go ++ use-32-prefix-udp-backend.patch ++ >From ed425bdd6fefacb0f06b35fa8f4caedf042dc84d Mon Sep 17 00:00:00 2001 From: "Cel A. Skeggs" Date: Thu, 1 Feb 2018 17:49:12 -0500 Subject: [PATCH] backend/udp: Use a /32 prefix for the flannel0 interface This avoids the kernel's creation of broadcast routes, which prevent communication from the host with the zeroth subnet to containers on any other hosts. --- backend/udp/udp_network.go | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/backend/udp/udp_network.go b/backend/udp/udp_network.go index 1f9752f8..242ebf49 100644 --- a/backend/udp/udp_network.go +++ b/backend/udp/udp_network.go @@ -153,9 +153,15 @@ func configureIface(ifname string, ipn ip.IP4Net, mtu int) error { return fmt.Errorf("failed to lookup interface %v", ifname) } - err = netlink.AddrAdd(iface, {IPNet: ipn.ToIPNet(), Label: ""}) + // Ensure that the device has a /32 address so that no broadcast routes are created. + // This IP is just used as a source address for host to workload traffic (so + // the return path for the traffic has an address on the flannel network to use as the destination) + ipnLocal := ipn + ipnLocal.PrefixLen = 32 + + err = netlink.AddrAdd(iface, {IPNet: ipnLocal.ToIPNet(), Label: ""}) if err != nil { - return fmt.Errorf("failed to add IP address %v to %v: %v", ipn.String(), ifname, err) + return fmt.Errorf("failed to add IP address %v to %v: %v", ipnLocal.String(), ifname, err) } err = netlink.LinkSetMTU(iface, mtu)
commit flannel for openSUSE:Factory
Hello community, here is the log from the commit of package flannel for openSUSE:Factory checked in at 2018-02-02 22:22:20 Comparing /work/SRC/openSUSE:Factory/flannel (Old) and /work/SRC/openSUSE:Factory/.flannel.new (New) Package is "flannel" Fri Feb 2 22:22:20 2018 rev:9 rq:571977 version:0.9.1 Changes: --- /work/SRC/openSUSE:Factory/flannel/flannel.changes 2017-12-29 18:51:29.930741851 +0100 +++ /work/SRC/openSUSE:Factory/.flannel.new/flannel.changes 2018-02-02 22:22:20.593704617 +0100 @@ -1,0 +2,5 @@ +Thu Feb 1 16:58:22 CET 2018 - r...@suse.de + +- do not build on s390, only on s390x (no go on s390) + +--- Other differences: -- ++ flannel.spec ++ --- /var/tmp/diff_new_pack.yLUCHg/_old 2018-02-02 22:22:21.205676047 +0100 +++ /var/tmp/diff_new_pack.yLUCHg/_new 2018-02-02 22:22:21.209675860 +0100 @@ -39,6 +39,7 @@ BuildRequires: golang(API) >= 1.8 Requires(post): %fillup_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build +ExcludeArch:s390 %{go_nostrip} %{go_provides} %{?systemd_requires}
commit flannel for openSUSE:Factory
Hello community, here is the log from the commit of package flannel for openSUSE:Factory checked in at 2017-12-29 18:51:22 Comparing /work/SRC/openSUSE:Factory/flannel (Old) and /work/SRC/openSUSE:Factory/.flannel.new (New) Package is "flannel" Fri Dec 29 18:51:22 2017 rev:8 rq:560101 version:0.9.1 Changes: --- /work/SRC/openSUSE:Factory/flannel/flannel.changes 2017-11-30 12:45:04.474609809 +0100 +++ /work/SRC/openSUSE:Factory/.flannel.new/flannel.changes 2017-12-29 18:51:29.930741851 +0100 @@ -1,0 +2,14 @@ +Mon Nov 27 09:28:36 UTC 2017 - opensuse-packag...@opensuse.org + +- Update to version 0.9.1: + * kube: Update manifests to v0.9.1 + * network/iptables: Add iptables rules to FORWARD chain + * kube-flannel.yml: Update to v0.9.0 and improve docs + * Update README.md + * Fix horrendous README typo + * Always ensure iptables masquerade rules are installed + * Makefile: Stop pulling the unused lib from kube-cross + * subnet/*: Remove unused reservations code + * use init container to install cni on flannel daemonset + +--- Old: flannel-0.8.0.tar.xz New: flannel-0.9.1.tar.xz Other differences: -- ++ flannel.spec ++ --- /var/tmp/diff_new_pack.1KpqSc/_old 2017-12-29 18:51:31.058417973 +0100 +++ /var/tmp/diff_new_pack.1KpqSc/_new 2017-12-29 18:51:31.082411083 +0100 @@ -22,7 +22,7 @@ %endif Name: flannel -Version:0.8.0 +Version:0.9.1 Release:0 Summary:An etcd backed network fabric for containers License:Apache-2.0 @@ -36,7 +36,7 @@ BuildRequires: golang-packaging BuildRequires: systemd BuildRequires: xz -BuildRequires: golang(API) = 1.8 +BuildRequires: golang(API) >= 1.8 Requires(post): %fillup_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build %{go_nostrip} ++ _service ++ --- /var/tmp/diff_new_pack.1KpqSc/_old 2017-12-29 18:51:31.286352509 +0100 +++ /var/tmp/diff_new_pack.1KpqSc/_new 2017-12-29 18:51:31.290351361 +0100 @@ -4,8 +4,8 @@ g...@github.com:coreos/flannel.git .git flannel -0.8.0 -v0.8.0 +0.9.1 +v0.9.1 enable ++ flannel-0.8.0.tar.xz -> flannel-0.9.1.tar.xz ++ 2424 lines of diff (skipped)
commit flannel for openSUSE:Factory
Hello community, here is the log from the commit of package flannel for openSUSE:Factory checked in at 2017-11-30 12:45:02 Comparing /work/SRC/openSUSE:Factory/flannel (Old) and /work/SRC/openSUSE:Factory/.flannel.new (New) Package is "flannel" Thu Nov 30 12:45:02 2017 rev:7 rq:546259 version:0.8.0 Changes: --- /work/SRC/openSUSE:Factory/flannel/flannel.changes 2017-08-29 11:48:18.864516461 +0200 +++ /work/SRC/openSUSE:Factory/.flannel.new/flannel.changes 2017-11-30 12:45:04.474609809 +0100 @@ -1,0 +2,6 @@ +Thu Nov 23 13:48:19 UTC 2017 - rbr...@suse.com + +- Replace references to /var/adm/fillup-templates with new + %_fillupdir macro (boo#1069468) + +--- Other differences: -- ++ flannel.spec ++ --- /var/tmp/diff_new_pack.zH3fW0/_old 2017-11-30 12:45:05.466573747 +0100 +++ /var/tmp/diff_new_pack.zH3fW0/_new 2017-11-30 12:45:05.470573602 +0100 @@ -16,6 +16,11 @@ # +#Compat macro for new _fillupdir macro introduced in Nov 2017 +%if ! %{defined _fillupdir} + %define _fillupdir /var/adm/fillup-templates +%endif + Name: flannel Version:0.8.0 Release:0 @@ -66,7 +71,7 @@ ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rcflanneld # Sysconfig -install -D -p -m 0644 %{SOURCE1} %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.flanneld +install -D -p -m 0644 %{SOURCE1} %{buildroot}%{_fillupdir}/sysconfig.flanneld install -D -p -m 0644 %{SOURCE4} %{buildroot}%{_tmpfilesdir}/%{name}.conf # Additional @@ -101,7 +106,7 @@ %{_sbindir}/rcflanneld # Sysconfig -%{_localstatedir}/adm/fillup-templates/sysconfig.flanneld +%{_fillupdir}/sysconfig.flanneld %{_tmpfilesdir}/%{name}.conf %attr(0750,root,root) %dir %ghost %{_rundir}/%{name}
commit flannel for openSUSE:Factory
Hello community, here is the log from the commit of package flannel for openSUSE:Factory checked in at 2017-08-29 11:47:36 Comparing /work/SRC/openSUSE:Factory/flannel (Old) and /work/SRC/openSUSE:Factory/.flannel.new (New) Package is "flannel" Tue Aug 29 11:47:36 2017 rev:6 rq:519287 version:0.8.0 Changes: --- /work/SRC/openSUSE:Factory/flannel/flannel.changes 2017-08-28 15:15:24.895482441 +0200 +++ /work/SRC/openSUSE:Factory/.flannel.new/flannel.changes 2017-08-29 11:48:18.864516461 +0200 @@ -1,0 +2,6 @@ +Tue Aug 29 08:27:54 UTC 2017 - mmeis...@suse.com + +- build with go1.8 + this fixes the golang.org/x/net/context conflict + +--- Other differences: -- ++ flannel.spec ++ --- /var/tmp/diff_new_pack.ifsknm/_old 2017-08-29 11:48:19.872374406 +0200 +++ /var/tmp/diff_new_pack.ifsknm/_new 2017-08-29 11:48:19.884372715 +0200 @@ -31,6 +31,7 @@ BuildRequires: golang-packaging BuildRequires: systemd BuildRequires: xz +BuildRequires: golang(API) = 1.8 Requires(post): %fillup_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build %{go_nostrip}
commit flannel for openSUSE:Factory
Hello community, here is the log from the commit of package flannel for openSUSE:Factory checked in at 2017-08-28 15:14:15 Comparing /work/SRC/openSUSE:Factory/flannel (Old) and /work/SRC/openSUSE:Factory/.flannel.new (New) Package is "flannel" Mon Aug 28 15:14:15 2017 rev:5 rq:518506 version:0.8.0 Changes: --- /work/SRC/openSUSE:Factory/flannel/flannel.changes 2017-08-22 11:09:50.754539241 +0200 +++ /work/SRC/openSUSE:Factory/.flannel.new/flannel.changes 2017-08-28 15:15:24.895482441 +0200 @@ -1,0 +2,13 @@ +Thu Aug 24 07:56:44 UTC 2017 - vrothb...@suse.com + +- Update to version 0.8.0: + * flannel reads from created subnet.env file on startup + * Fix a bug with the iface-regex that always returned an error + * Fix a bug where previously leased subnets would not update etcd leases + * main.go: Fix logging options + * Allow kube subnet manager to run outside of kubernetes + * Added ability to specify multiple ifaces and iface regexes + * Docs: Add kubernetes and troubleshooting info + * Update manifest to v0.8.0 + +--- Old: flannel-0.7.1.tar.xz New: flannel-0.8.0.tar.xz Other differences: -- ++ flannel.spec ++ --- /var/tmp/diff_new_pack.KENvHw/_old 2017-08-28 15:15:28.311002535 +0200 +++ /var/tmp/diff_new_pack.KENvHw/_new 2017-08-28 15:15:28.315001973 +0200 @@ -17,7 +17,7 @@ Name: flannel -Version:0.7.1 +Version:0.8.0 Release:0 Summary:An etcd backed network fabric for containers License:Apache-2.0 ++ _service ++ --- /var/tmp/diff_new_pack.KENvHw/_old 2017-08-28 15:15:28.450982866 +0200 +++ /var/tmp/diff_new_pack.KENvHw/_new 2017-08-28 15:15:28.450982866 +0200 @@ -4,8 +4,8 @@ g...@github.com:coreos/flannel.git .git flannel -0.7.1 -v0.7.1 +0.8.0 +v0.8.0 enable ++ flannel-0.7.1.tar.xz -> flannel-0.8.0.tar.xz ++ /work/SRC/openSUSE:Factory/flannel/flannel-0.7.1.tar.xz /work/SRC/openSUSE:Factory/.flannel.new/flannel-0.8.0.tar.xz differ: char 26, line 1
commit flannel for openSUSE:Factory
Hello community, here is the log from the commit of package flannel for openSUSE:Factory checked in at 2017-08-22 11:09:44 Comparing /work/SRC/openSUSE:Factory/flannel (Old) and /work/SRC/openSUSE:Factory/.flannel.new (New) Package is "flannel" Tue Aug 22 11:09:44 2017 rev:4 rq:517902 version:0.7.1 Changes: --- /work/SRC/openSUSE:Factory/flannel/flannel.changes 2017-04-26 21:43:59.637377643 +0200 +++ /work/SRC/openSUSE:Factory/.flannel.new/flannel.changes 2017-08-22 11:09:50.754539241 +0200 @@ -1,0 +2,7 @@ +Thu Aug 17 13:32:34 UTC 2017 - vrothb...@suse.com + +- Fix bsc#1054097 + * We need to patch the Version variable to align with the package version + * Do this by using `gofmt` (linker flags can't be set without changing the build) + +--- Other differences: -- ++ flannel.spec ++ --- /var/tmp/diff_new_pack.bEEsga/_old 2017-08-22 11:09:51.874381561 +0200 +++ /var/tmp/diff_new_pack.bEEsga/_new 2017-08-22 11:09:51.878380998 +0200 @@ -49,6 +49,7 @@ %setup -q %build +gofmt -w -r "x -> \"%{version}\"" version/version.go %{goprep} github.com/coreos/flannel %{gobuild}
commit flannel for openSUSE:Factory
Hello community, here is the log from the commit of package flannel for openSUSE:Factory checked in at 2017-04-26 21:43:20 Comparing /work/SRC/openSUSE:Factory/flannel (Old) and /work/SRC/openSUSE:Factory/.flannel.new (New) Package is "flannel" Wed Apr 26 21:43:20 2017 rev:3 rq:489295 version:0.7.1 Changes: --- /work/SRC/openSUSE:Factory/flannel/flannel.changes 2017-02-05 16:32:47.262748665 +0100 +++ /work/SRC/openSUSE:Factory/.flannel.new/flannel.changes 2017-04-26 21:43:23.598465319 +0200 @@ -1,0 +2,18 @@ +Wed Apr 19 09:29:33 UTC 2017 - opensuse-packag...@opensuse.org + +- Update to version 0.7.1: + * Add Kubernetes RBAC support + * vendor: Revendor with more sensible pinnings + * vendor: Make code compatible again + * Simplify rbac creation process + * Tolerate flannel running on master nodes + * backend/vxlan: Don't recreate vxlan device on flanneld restart + * backend/hostgw: Fix memory leak + * Build tar.gz for ppc64le, arm and arm64 arch + * kube-flannel: Add namespace for compatibility with RBAC rules + * Explicitly state operator: Exists for master node toleration - as tolleration defaults to Equal by default which will result in the non scheduling of flannel on the master nodes + * switch kube subnet manager to PATCH + * Bump k8s manifest version to v0.7.1 + * Correct the image in the k8s manifest files + +--- Old: flannel-0.7.0.tar.xz New: flannel-0.7.1.tar.xz Other differences: -- ++ flannel.spec ++ --- /var/tmp/diff_new_pack.yfqLBv/_old 2017-04-26 21:43:24.902281257 +0200 +++ /var/tmp/diff_new_pack.yfqLBv/_new 2017-04-26 21:43:24.914279563 +0200 @@ -1,7 +1,7 @@ # # spec file for package flannel # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # 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: flannel -Version:0.7.0 +Version:0.7.1 Release:0 Summary:An etcd backed network fabric for containers License:Apache-2.0 ++ _service ++ --- /var/tmp/diff_new_pack.yfqLBv/_old 2017-04-26 21:43:25.002267141 +0200 +++ /var/tmp/diff_new_pack.yfqLBv/_new 2017-04-26 21:43:25.002267141 +0200 @@ -4,8 +4,8 @@ g...@github.com:coreos/flannel.git .git flannel -0.7.0 -v0.7.0 +0.7.1 +v0.7.1 enable ++ flannel-0.7.0.tar.xz -> flannel-0.7.1.tar.xz ++ /work/SRC/openSUSE:Factory/flannel/flannel-0.7.0.tar.xz /work/SRC/openSUSE:Factory/.flannel.new/flannel-0.7.1.tar.xz differ: char 26, line 1
commit flannel for openSUSE:Factory
Hello community, here is the log from the commit of package flannel for openSUSE:Factory checked in at 2017-02-05 15:47:28 Comparing /work/SRC/openSUSE:Factory/flannel (Old) and /work/SRC/openSUSE:Factory/.flannel.new (New) Package is "flannel" Changes: --- /work/SRC/openSUSE:Factory/flannel/flannel.changes 2017-01-22 00:27:20.674391303 +0100 +++ /work/SRC/openSUSE:Factory/.flannel.new/flannel.changes 2017-02-05 16:32:47.262748665 +0100 @@ -1,0 +2,124 @@ +Fri Jan 20 15:53:14 UTC 2017 - opensuse-packag...@opensuse.org + +- Update to version 0.7.0: + * version: bump to v0.5.3+git + * subnet: add infrastructure and tests for network watches + * Refactoring: single ctx and pull out LeaseRenewer + * Bug fix: remote mode errors out with bad backend type + * Use a map for backend lookups + * Split backend Init operation into New/Init and AddNetwork + * Fix etcd implementation of getNetworks() + * vendor: update etcd/client + * aws-vpc: migrate to official AWS SDK + * aws-vpc: use SDK to get metadata + * Add network package to testing + * Add/remove networks when registry changes + * bug fix: no specified networks still led to multi-network path + * Fix running multiple networks + * Fix network watches when subnets change + * Better handling of Ctrl+C + * Add UnregisterNetwork backend method + * Notify systemd service when server is ready to listen + * Fix/improve docs + * Masquerade host to flannel traffic. + * Change copyright from CoreOS to flannel authors + * remote: close response body during watch() + * Refactor the backend interfaces for multi-networks + * Go 1.5 compat change + * test: add license header check + missing headers + * travis: add logo to README, switch to go 1.4/1.5 + * build: use `git describe` output in version + * file rename as separate commit for better diffs + * Use jonboulle/clockwork + * Have registry deal with subnet and not etcd types + * Actually track backends in the active map + * Fix subnet watch key creation + * Periodically retry getting initial networks + * Version embedding for Go 1.4 and 1.5 + * Ability to revoke lease + * Add reservations to admin control subnet allocs + * Revendor netlink library + * Add mock etcd and etcd-backed registry testcases + * tests: fix bug due to random numbers being used + * Fixes a number of races + * backend/udp: bind to the advertised interface + * Add cli args for etcd basic auth + * MAINTAINERS: remove eyakubovich; add tomdee, philips, steveej + * DOCS: Add note to AWS docs about why it might be used + * BUILDS: Use vendor directory instead of Godeps + * Updating code.google.com/p/... dependencies + * Add glide file + * Add glide.lock and update GCE dependencies + * Support quorum read option + * vendor: bump netlink to latest master + * network/ipmasq: RETURN instead of ACCEPT to allowe other rules + * vendor: coreos/pkg: -> v2 + * vendor: bump netlink to latest + * vxlan: support group-based policy + * scripts/build: compat header + * hostgw: Check existence of and compare routes before attempting to add/update them + * backend/hostgw: don't filter by LinkIndex + * BUILDS: Replace some shell scripts with Makefile + * deps: Update go-iptables version + * mk-docker-opts.sh: replace with busybox shell compatible version + * BUILDS: Overhaul build process + * vxlan: error on sysctl fail + * Fix a typo in format error. + * Makefile: Disable static builds of flanneld + * Makefile: Make the ARCH part of the tag name not the image name + * Builds: Insert libpthread into busybox images + * The docker daemon syntax change addressed + * Makefile: gzip the dist tar.gz file + * Add functional (end-to-end) testing + * README: Update build instructions + * Makefile: Push "latest" to flannel-git on quay.io + * Run e2e tests on travis + * glide: cfg change + * glide: add k8s deps + * fixup after etcd client update + * add kube backed subnet manager + * Update aws-vpc-backend.md + * README: Kubernetes rename + * Documentation: Fix sample kube-flannel config + * backend: do not log in Register + * Makefile: Push tags to flannel-git for all builds + * Makefile: clean before flannel-git build + * Makefile: Also push :latest for flannel-git + * Fixed #521: flanneld hang on at initialEvtsBatch := <-evts because of empty batch list in WatchLeases of subnet/watch.go + * Make the flannel daemonset multiarch + * aws-vpc: Fix crash when route has vpc-endpoints + * aws-vpc: remove "blackholes" + * deps: update aws-sdk version to latest stable + * backend: fixes and cleanups in awsvpc backend + * vxlan: user verbose logging macros + * subnet/kube: Use informer callbacks for lease events + * subnet/kube: wait for cache sync before using subnet manager + * network manager: Improve logging + *