Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kubernetes1.26 for openSUSE:Factory 
checked in at 2024-02-26 19:45:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kubernetes1.26 (Old)
 and      /work/SRC/openSUSE:Factory/.kubernetes1.26.new.1770 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kubernetes1.26"

Mon Feb 26 19:45:50 2024 rev:13 rq:1151164 version:1.26.14

Changes:
--------
--- /work/SRC/openSUSE:Factory/kubernetes1.26/kubernetes1.26.changes    
2024-02-01 18:04:50.789923136 +0100
+++ /work/SRC/openSUSE:Factory/.kubernetes1.26.new.1770/kubernetes1.26.changes  
2024-02-26 19:46:44.520839509 +0100
@@ -1,0 +2,22 @@
+Mon Feb 26 08:34:46 UTC 2024 - Priyanka Saggu <[email protected]>
+
+- add new patch to advance autoscaling v2 as the preferred API version, to fix 
bsc#1219964, CVE-2024-0793
+ * autoscaling-advance-v2-as-the-preferred-API-version.patch 
+
+-------------------------------------------------------------------
+Mon Feb 26 08:33:49 UTC 2024 - [email protected]
+
+- Update to version 1.26.14:
+  * [go] Bump images, dependencies and versions to go 1.21.7 / 
distroless-iptables to v0.4.5
+  * Add processStartTime in metrics/slis
+  * If a pvc has an empty storageclass name, don't try to assign a default 
StorageClass to it.
+
+- Update .spec file to bump go version build requirements:
+  * `BuildRequires:  golang(API) = 1.21`
+
+-------------------------------------------------------------------
+Thu Feb 22 12:44:16 UTC 2024 - Dominique Leuenberger <[email protected]>
+
+- Use %patch -P N instead of deprecated %patchN.
+
+-------------------------------------------------------------------

Old:
----
  kubernetes-1.26.13.tar.xz

New:
----
  autoscaling-advance-v2-as-the-preferred-API-version.patch
  kubernetes-1.26.14.tar.xz

BETA DEBUG BEGIN:
  New:- add new patch to advance autoscaling v2 as the preferred API version, 
to fix bsc#1219964, CVE-2024-0793
 * autoscaling-advance-v2-as-the-preferred-API-version.patch 
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kubernetes1.26.spec ++++++
--- /var/tmp/diff_new_pack.rccm1L/_old  2024-02-26 19:46:45.956891424 +0100
+++ /var/tmp/diff_new_pack.rccm1L/_new  2024-02-26 19:46:45.956891424 +0100
@@ -22,7 +22,7 @@
 %define baseversionminus1 1.25
 
 Name:           kubernetes%{baseversion}
-Version:        1.26.13
+Version:        1.26.14
 Release:        0
 Summary:        Container Scheduling and Management
 License:        Apache-2.0
@@ -49,14 +49,16 @@
 Patch4:         kubeadm-opensuse-flexvolume.patch
 # Patch to revert renaming of coredns image location to match how it's done on 
download.opensuse.org
 Patch5:         revert-coredns-image-renaming.patch
+# Patch to advance autoscaling v2 as the preferred API version, to fix 
bsc#1219964, CVE-2024-0793
+Patch6:         autoscaling-advance-v2-as-the-preferred-API-version.patch
 BuildRequires:  fdupes
 BuildRequires:  git
-#BuildRequires:  go >= 1.20.13
+#BuildRequires:  go >= 1.21.7
 BuildRequires:  go-go-md2man
 BuildRequires:  golang-packaging
 BuildRequires:  rsync
 BuildRequires:  systemd-rpm-macros
-BuildRequires:  golang(API) = 1.20
+BuildRequires:  golang(API) = 1.21
 BuildRequires:  golang(github.com/jteeuwen/go-bindata)
 ExcludeArch:    %{ix86} s390 ppc64
 
@@ -80,6 +82,7 @@
 
 
 
+
 # packages to build containerized control plane
 
 %package apiserver
@@ -222,10 +225,11 @@
 
 %prep
 %setup -q -n kubernetes-%{version}
-%patch2 -p1
-%patch3 -p1
-%patch4 -p0
-%patch5 -p1
+%patch -P 2 -p1
+%patch -P 3 -p1
+%patch -P 4 -p0
+%patch -P 5 -p1
+%patch -P 6 -p1
 
 %build
 # This is fixing bug bsc#1065972

++++++ _service ++++++
--- /var/tmp/diff_new_pack.rccm1L/_old  2024-02-26 19:46:46.016893593 +0100
+++ /var/tmp/diff_new_pack.rccm1L/_new  2024-02-26 19:46:46.020893738 +0100
@@ -5,7 +5,7 @@
     <param name="exclude">.git</param>
     <param name="versionformat">@PARENT_TAG@</param>
     <param name="versionrewrite-pattern">v(.*)</param>
-    <param name="revision">v1.26.13</param>
+    <param name="revision">v1.26.14</param>
     <param name="changesgenerate">enable</param>
   </service>
   <service name="tar" mode="disabled"/>

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.rccm1L/_old  2024-02-26 19:46:46.036894316 +0100
+++ /var/tmp/diff_new_pack.rccm1L/_new  2024-02-26 19:46:46.040894461 +0100
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
                 <param 
name="url">https://github.com/kubernetes/kubernetes.git</param>
-              <param 
name="changesrevision">7ba444e261616cb572b2c9e3aa6ee8876140f46a</param></service></servicedata>
+              <param 
name="changesrevision">6db79806d788bfb9cfc996deb7e2e178402e8b50</param></service></servicedata>
 (No newline at EOF)
 

++++++ autoscaling-advance-v2-as-the-preferred-API-version.patch ++++++
>From 40a6d6306a2c6c202ab33c3d90178ce19fabf7cf Mon Sep 17 00:00:00 2001
From: SataQiu <[email protected]>
Date: Sun, 11 Dec 2022 13:09:39 +0800
Subject: [PATCH] autoscaling: advance v2 as the preferred API version over v1

---
 pkg/apis/autoscaling/install/install.go         | 3 +--
 pkg/controlplane/storageversionhashdata/data.go | 4 ++--
 test/integration/etcd/data.go                   | 6 +++---
 3 files changed, 6 insertions(+), 7 deletions(-)

Index: kubernetes-1.26.13/pkg/apis/autoscaling/install/install.go
===================================================================
--- kubernetes-1.26.13.orig/pkg/apis/autoscaling/install/install.go
+++ kubernetes-1.26.13/pkg/apis/autoscaling/install/install.go
@@ -40,6 +40,5 @@ func Install(scheme *runtime.Scheme) {
        utilruntime.Must(v2.AddToScheme(scheme))
        utilruntime.Must(v2beta1.AddToScheme(scheme))
        utilruntime.Must(v1.AddToScheme(scheme))
-       // TODO: move v2 to the front of the list in 1.24
-       utilruntime.Must(scheme.SetVersionPriority(v1.SchemeGroupVersion, 
v2.SchemeGroupVersion, v2beta1.SchemeGroupVersion, v2beta2.SchemeGroupVersion))
+       utilruntime.Must(scheme.SetVersionPriority(v2.SchemeGroupVersion, 
v1.SchemeGroupVersion, v2beta1.SchemeGroupVersion, v2beta2.SchemeGroupVersion))
 }
Index: kubernetes-1.26.13/pkg/controlplane/storageversionhashdata/data.go
===================================================================
--- kubernetes-1.26.13.orig/pkg/controlplane/storageversionhashdata/data.go
+++ kubernetes-1.26.13/pkg/controlplane/storageversionhashdata/data.go
@@ -51,9 +51,9 @@ var GVRToStorageVersionHash = map[string
        "v1/secrets":                "S6u1pOWzb84=",
        "v1/serviceaccounts":        "pbx9ZvyFpBE=",
        "v1/services":               "0/CO1lhkEBI=",
-       "autoscaling/v1/horizontalpodautoscalers":      "oQlkt7f5j/A=",
-       "autoscaling/v2/horizontalpodautoscalers":      "oQlkt7f5j/A=",
-       "autoscaling/v2beta2/horizontalpodautoscalers": "oQlkt7f5j/A=",
+       "autoscaling/v1/horizontalpodautoscalers":      "qwQve8ut294=",
+       "autoscaling/v2/horizontalpodautoscalers":      "qwQve8ut294=",
+       "autoscaling/v2beta2/horizontalpodautoscalers": "qwQve8ut294=",
        "batch/v1/jobs":     "mudhfqk/qZY=",
        "batch/v1/cronjobs": "sd5LIXh4Fjs=",
        "certificates.k8s.io/v1/certificatesigningrequests":                
"95fRKMXA+00=",
Index: kubernetes-1.26.13/test/integration/etcd/data.go
===================================================================
--- kubernetes-1.26.13.orig/test/integration/etcd/data.go
+++ kubernetes-1.26.13/test/integration/etcd/data.go
@@ -128,6 +128,7 @@ func GetEtcdStorageDataForNamespace(name
                gvr("autoscaling", "v1", "horizontalpodautoscalers"): {
                        Stub:             `{"metadata": {"name": "hpa2"}, 
"spec": {"maxReplicas": 3, "scaleTargetRef": {"kind": "something", "name": 
"cross"}}}`,
                        ExpectedEtcdPath: "/registry/horizontalpodautoscalers/" 
+ namespace + "/hpa2",
+                       ExpectedGVK:      gvkP("autoscaling", "v2", 
"HorizontalPodAutoscaler"),
                },
                // --
 
@@ -135,7 +136,6 @@ func GetEtcdStorageDataForNamespace(name
                gvr("autoscaling", "v2", "horizontalpodautoscalers"): {
                        Stub:             `{"metadata": {"name": "hpa4"}, 
"spec": {"maxReplicas": 3, "scaleTargetRef": {"kind": "something", "name": 
"cross"}}}`,
                        ExpectedEtcdPath: "/registry/horizontalpodautoscalers/" 
+ namespace + "/hpa4",
-                       ExpectedGVK:      gvkP("autoscaling", "v1", 
"HorizontalPodAutoscaler"),
                },
                // --
 
@@ -143,7 +143,7 @@ func GetEtcdStorageDataForNamespace(name
                gvr("autoscaling", "v2beta1", "horizontalpodautoscalers"): {
                        Stub:             `{"metadata": {"name": "hpa1"}, 
"spec": {"maxReplicas": 3, "scaleTargetRef": {"kind": "something", "name": 
"cross"}}}`,
                        ExpectedEtcdPath: "/registry/horizontalpodautoscalers/" 
+ namespace + "/hpa1",
-                       ExpectedGVK:      gvkP("autoscaling", "v1", 
"HorizontalPodAutoscaler"),
+                       ExpectedGVK:      gvkP("autoscaling", "v2", 
"HorizontalPodAutoscaler"),
                },
                // --
 
@@ -151,7 +151,7 @@ func GetEtcdStorageDataForNamespace(name
                gvr("autoscaling", "v2beta2", "horizontalpodautoscalers"): {
                        Stub:             `{"metadata": {"name": "hpa3"}, 
"spec": {"maxReplicas": 3, "scaleTargetRef": {"kind": "something", "name": 
"cross"}}}`,
                        ExpectedEtcdPath: "/registry/horizontalpodautoscalers/" 
+ namespace + "/hpa3",
-                       ExpectedGVK:      gvkP("autoscaling", "v1", 
"HorizontalPodAutoscaler"),
+                       ExpectedGVK:      gvkP("autoscaling", "v2", 
"HorizontalPodAutoscaler"),
                },
                // --
 


++++++ kubernetes-1.26.13.tar.xz -> kubernetes-1.26.14.tar.xz ++++++
/work/SRC/openSUSE:Factory/kubernetes1.26/kubernetes-1.26.13.tar.xz 
/work/SRC/openSUSE:Factory/.kubernetes1.26.new.1770/kubernetes-1.26.14.tar.xz 
differ: char 15, line 1

++++++ kubernetes.obsinfo ++++++
--- /var/tmp/diff_new_pack.rccm1L/_old  2024-02-26 19:46:46.148898365 +0100
+++ /var/tmp/diff_new_pack.rccm1L/_new  2024-02-26 19:46:46.156898654 +0100
@@ -1,5 +1,5 @@
 name: kubernetes
-version: 1.26.13
-mtime: 1705498625
-commit: 7ba444e261616cb572b2c9e3aa6ee8876140f46a
+version: 1.26.14
+mtime: 1707906692
+commit: 6db79806d788bfb9cfc996deb7e2e178402e8b50
 

Reply via email to