Hello community, here is the log from the commit of package kubernetes for openSUSE:Leap:15.2 checked in at 2020-03-29 14:55:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/kubernetes (Old) and /work/SRC/openSUSE:Leap:15.2/.kubernetes.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kubernetes" Sun Mar 29 14:55:49 2020 rev:5 rq:789153 version:1.18.0 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/kubernetes/kubectl.changes 2020-03-19 11:07:54.292035753 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.kubernetes.new.3160/kubectl.changes 2020-03-29 14:55:50.167164602 +0200 @@ -1,0 +2,1979 @@ +Wed Mar 25 19:46:06 UTC 2020 - rbr...@suse.com + +- Update to version 1.18.0: + * bump k8s.io/utils package + * Simplify dual or single port logic + * fix kubectl port-forward for services with explicit local port + * Fix the VMSS name and resource group name when updating VMSS for LoadBalancer backendPools. + * bump k8s.io utils + * Do not reset managedFields in status update strategy + * Use discovery to test apply all status + * Updating vendored files + * Update vendored MountSensitive code for Windows + * add unit test for addTopology() + * make filteredZones order predictable + * Restore orphaning check in gc test + * Update CHANGELOG/CHANGELOG-1.18.md for v1.18.0-rc.1 + * Fix isCurrentInstance for Windows by removing the dependency of hostname + * e2e wait until controller manager pod ready + * Add missing article in prominent release note + * add testing + * add ExternalTrafficPolicy support for External IPs in ipvs kubeproxy + * add ExternalTrafficPolicy support for External IPs in iptables kubeproxy + * add feature gate ExternalPolicyForExternalIP for the bug fix + * Set unschedulable Condition after setting nominated Node + * fix logging on e2e metrics grabber test + * Fix unbound variable error in gce/configure.sh + * CHANGELOG: Update directory for v1.15.11 release + * CHANGELOG: Update directory for v1.16.8 release + * CHANGELOG: Update directory for v1.17.4 release + * Bump Cluster-Autoscaler to 1.18.0 + * Removing ConfigMap as suggestion for IngressClass parameters + * Remove kubectl column output test + * build/release-images.sh: remove possible duplicate targets + * Add tolerations with effect "NoExecute" and "NoSchedule" to allow schedule of nodelocaldns pods on node pools with taints + * EndpointSlice and Endpoints should treat terminating pods the same + * Remove wait.Until for running Kubelet Bootstrap + * Bump Cluster-Autoscaler to cluster-autoscaler:v1.18.0-beta.1 + * wait until /metrics are ready on e2e test + * let image cache do sort on write instead of on read to avoid data + * CHANGELOG: Update directory for v1.18.0-beta.2 release + * Implement noopWindowsResourceAllocator + * Preserve target apiVersion when decoding into unstructured lists + * Fix VMSS cache content + * kubelet: Also set PodIPs when assign a host network PodIP + * e2e: wait for controller manager pod to be ready + * Add NodeCIDR for detect-local-mode + * Move TaintBasedEvictions feature gates to GA + * test: Detect flakes caused by container teardown races on CRI + * metaproxier logging for endpoints ipfamily + * Add metaproxier unit tests + * client-go: update expansions callers + * client-go: add context/options to expansions methods + * Use go-bindata built from vendor/ + * client-go metadata: update callers + * client-go dynamic client: add context to callers + * /readyz should start returning failure on shutdown initiation + * client-go metadata: plumb context + * client-go dynamic context + * client-go dynamic client: update DeleteOptions callers + * client-go dynamic client: pass DeleteOptions by value + * Updated files after rebase + * Fix expected version for csidriver + * Updated CSIDriver references + * Moved CSIDriver to GA + * generaetd + * refactor egress dialer construction code and add unit test + * add metrics and traces for egress dials + * Parallelize attach operations across different nodes for volumes that allow multi-attach + * exit if KONNECTIVITY_SERVICE_PROXY_PROTOCOL_MODE is set incorrectly + * Don't try to create VolumeSpec immediately after underlying PVC is being deleted + * Disable HTTP2 while proxying a "Connection: upgrade" request + * Allow both GRPC and http-connect mode to be toggled + * Checks error for loading audit webhook config to prevent panic + * managedfields: Update Apply time if neither object nor managedfields have changed + * Bump sigs.k8s.io/structured-merge-diff to v3 + * fieldmanager: Add failing test for no-op apply actually writing to etcd + * fieldmanager: Move ManagedFields update logic into its own class + * Add e2e test for validating JWTs as OIDC tokens + * Add Extenders to scheduler v1alpha2 component config + * ingress: add alternate resource backend + * Work-around for missing metrics on CRI-O exited containers + * Renaming: "Change" -> "Add" for consistency with underlying method + * Fix queued request accounting, extended queueset test + * Disallow use of Plugin or PluginConfig when using Policy + * Disallow duplicate PluginConfig in framework creation + * Allow container visitor to operate on selected container types + * test: Properly detect container runtime flake in e2e test + * Update to latest node-cache image + * ingress: allow wildcard hosts in IngressRule + * Use the v0.0.8 network proxy images + * Use versioned autoscaling API group in code-generator examples + * dynamic certs: pass valid object to event recorder + * dynamic certs: use correct name with event recorder + * dynamic certs: do not copy mutex via shallow copy of tls.Config + * Bug fix for TM none policy + * Start adding tests for verifying correct modes + * Check for nil cpuManager + * Fix Bazel build + * Show kubectl describe ingress error + * Hopefully plainer test strings + * Implement changes into volume plugins for skipping chown + * Update generated files + * Define new type for storing volume fsgroupchangepolicy + * Fix log formatting for skipper. "INFO" is already logged by Logf, and it wasn't in the format syntax. + * kubeadm: deprecate the flag --use-api for cert renewal + * Set field manager for kubectl diff --server-side. + * Add AnyVolumeDataSource feature gate + * Don't log "SHOULD NOT HAPPEN" errors more than once per second + * Use the same default namespace across event recorders + * kubelet: Clear the podStatusChannel before invoking syncBatch + * kubelet: Never restart containers in deleting pods + * kubelet: Don't delete pod until all container status is available + * kubelet: Preserve existing container status when pod terminated + * Test that an always-fail container can't report the pod Succeeded + * Add kubectl debug alpha command + * Update VolumePVCDatasource to GA for 1.18 + * fix scheduler.TestCoSchedulinngWithPermitPlugin and test scheduler.PermitPlugin + * Windows specific kubelet flags in kubeadm-flags.env - Uses correct pause image for Windows - Omits systemd specific flags - Common build flags function to be used by Linux and Windows - Uses user configured image repository for Windows pause image + * e2e-topology-manager: Wait for SR-IOV device plugin + * Utilerrors.Aggregate: Allow using with errors.Is() + * Fix GCE PD snapshot flakiness + * Generalized NonResourcePolicyRule.NonResourceURLs impl + * Promote GMSA to GA + * cleanup: move the test of TaintBasedEvictions features to sig-node + * client-go: use klog.V(3) for the cert-rotation controller start/stop + * Update agnhost to test OIDC validation of JWT tokens + * Add FromFile and FromExistingClassName support for SnapshotClass in external storage e2e test + * Always include remoteAddr in source IP list for audit (#87167) + * Prevent CephFS from logging senstive options + * Prevent AzureFile from logging senstive options + * Fix MountError Test + * Update dep k8s.io/utils to 0a110f9eb7ab + * Adding PathType to Ingress + * update override behavior for kubectl --tls-server-name + * Squash pkg/describe/versioned/ into pkg/describe/ + * Support TLS Server Name overrides in kubeconfig file + * Provide more verbose empty config error based on the context + * Changed kubectl cluster-info dump to not display "Cluster info dumped to standard output" message when output is stdout + * Update Cluster Autoscaler version to 1.18.0-gke.0 + * cleans up dynamiccertificates package + * Add unit tests for IsKubeletClientCSR and IsKubeletServingCSR + * Extend client-go csr package to invalidate CSRs based on signerName + * bandwidth: use regexp to handle tc output fix newly-added 'chain N' output from 'tc filter show dev XXX' + * Hide kubectl.kubernetes.io/last-applied-configuration in describe + * Wire --filename flag to exec + * Implement simple endpoint slice batching + * Make some metrics finer-grained, add dispatch counts, note immediate reject + * add a new generic filter goaway + * Fix a PodTopologySpread e2e flake + * Use GRPC mode for network proxy + * Generated API + * test/e2e/framework: remove dependencies to internal APIs + * move eparis and zmerlynn to cluster/ emeritus_approvers + * add bentheelder to cluster/ approvers + * Support intermediate certificate in certificate store + * Honor status.podIP over status.podIPs, node.spec.podCIDR over node.spec.podCIDRs + * Add default constraints to PodTopologySpread + * Update network proxy to v0.0.7 + * stop defaulting kubeconfig to http://localhost:8080 + * Add ReloadCertFromDisk flag to rest.Config and to kubeconfig which allows the provided client certificate files to be reloaded from disk (currently on every use) + * Enable topology-manager-e2e tests to run on MultiNUMA nodes. + * Refactor CPUMananger-e2e-tests so that it be reused by topology-manager-e2e-testsuite. + * Improve plugin args JSON tags + * Bump csi-driver-host-path version to get fixed block snapshots + * Currently SRIOV detection logic is reporting error if it fails to detect SRIOV device on the system. This patch aims to fix the same. + * hack/update-vendor.sh + * Replaced uber atomic with sync atomic, removed unneded "blank import" + * Fix block snapshot tests + * Fix unit test to fail with proper final gRPC code + * Add unit tests + * Call NodeUnstage after NodeStage timeout + * Call NodeUnpublish after NodePublish timeout + * Add uncertain map state to block volumes + * Add context and options to scale client + * Add mutex to Topology Manager Add/RemoveContainer This was exposed as a potential bug during e2e test debugging of this PR. + * Update TopologyManager Feature Gate: - Alpha to Beta. - True by default. - Remove redundant validation checks. + * small cleanup for ipvs readme + * validate configuration of kube-proxy IPVS tcp,tcpfin,udp timeout + * Adding IngressClass to networking/v1beta1 + * Support token authentication for network proxy + * test/e2e/:remove // TODO: write a wrapper for ExpectNoErrorWithOffset() + * test/e2e/framework/service/:simplify function CreateTCPService + * Make sure we fail the job and log more details when it does + * Move conformance image to debian:stretch-slim + * Remove unused function aggregateGoroutinesWithDelay + * Switch to UpdateVMs() for updating VMSS backend address pool + * Factor-out metrics related logic from authentication logic. + * Use only v1 CRD resources in e2e tests + * Fixed golint issues in RBD code + * Remove prometheus references from pkg/controller/endpointslice + * Add UpdateVMs() for VMSS client to allow update multiple VMSSVMs by sequential sync requests and concurent async requests. + * update WithPlugin comment, in case remove function + * Refactor: move generic functions of integration test to util directory + * refactor volume binder + * e2e_node add test for PodOverhead feature + * storage: confirm that paging and predicate filtering work together + * Address comment and remove if condition ++++ 1782 more lines (skipped) ++++ between /work/SRC/openSUSE:Leap:15.2/kubernetes/kubectl.changes ++++ and /work/SRC/openSUSE:Leap:15.2/.kubernetes.new.3160/kubectl.changes --- /work/SRC/openSUSE:Leap:15.2/kubernetes/kubernetes.changes 2020-03-27 16:43:59.319787546 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.kubernetes.new.3160/kubernetes.changes 2020-03-29 14:55:50.891165166 +0200 @@ -1,0 +2,1981 @@ +Wed Mar 25 19:46:06 UTC 2020 - rbr...@suse.com + +- Update to version 1.18.0: + * Drop kubeadm-improve-resilency-CreateOrMutateConfigMap.patch (no longer needed) + * Rebase opensuse-version-checks.patch + * bump k8s.io/utils package + * Simplify dual or single port logic + * fix kubectl port-forward for services with explicit local port + * Fix the VMSS name and resource group name when updating VMSS for LoadBalancer backendPools. + * bump k8s.io utils + * Do not reset managedFields in status update strategy + * Use discovery to test apply all status + * Updating vendored files + * Update vendored MountSensitive code for Windows + * add unit test for addTopology() + * make filteredZones order predictable + * Restore orphaning check in gc test + * Update CHANGELOG/CHANGELOG-1.18.md for v1.18.0-rc.1 + * Fix isCurrentInstance for Windows by removing the dependency of hostname + * e2e wait until controller manager pod ready + * Add missing article in prominent release note + * add testing + * add ExternalTrafficPolicy support for External IPs in ipvs kubeproxy + * add ExternalTrafficPolicy support for External IPs in iptables kubeproxy + * add feature gate ExternalPolicyForExternalIP for the bug fix + * Set unschedulable Condition after setting nominated Node + * fix logging on e2e metrics grabber test + * Fix unbound variable error in gce/configure.sh + * CHANGELOG: Update directory for v1.15.11 release + * CHANGELOG: Update directory for v1.16.8 release + * CHANGELOG: Update directory for v1.17.4 release + * Bump Cluster-Autoscaler to 1.18.0 + * Removing ConfigMap as suggestion for IngressClass parameters + * Remove kubectl column output test + * build/release-images.sh: remove possible duplicate targets + * Add tolerations with effect "NoExecute" and "NoSchedule" to allow schedule of nodelocaldns pods on node pools with taints + * EndpointSlice and Endpoints should treat terminating pods the same + * Remove wait.Until for running Kubelet Bootstrap + * Bump Cluster-Autoscaler to cluster-autoscaler:v1.18.0-beta.1 + * wait until /metrics are ready on e2e test + * let image cache do sort on write instead of on read to avoid data + * CHANGELOG: Update directory for v1.18.0-beta.2 release + * Implement noopWindowsResourceAllocator + * Preserve target apiVersion when decoding into unstructured lists + * Fix VMSS cache content + * kubelet: Also set PodIPs when assign a host network PodIP + * e2e: wait for controller manager pod to be ready + * Add NodeCIDR for detect-local-mode + * Move TaintBasedEvictions feature gates to GA + * test: Detect flakes caused by container teardown races on CRI + * metaproxier logging for endpoints ipfamily + * Add metaproxier unit tests + * client-go: update expansions callers + * client-go: add context/options to expansions methods + * Use go-bindata built from vendor/ + * client-go metadata: update callers + * client-go dynamic client: add context to callers + * /readyz should start returning failure on shutdown initiation + * client-go metadata: plumb context + * client-go dynamic context + * client-go dynamic client: update DeleteOptions callers + * client-go dynamic client: pass DeleteOptions by value + * Updated files after rebase + * Fix expected version for csidriver + * Updated CSIDriver references + * Moved CSIDriver to GA + * generaetd + * refactor egress dialer construction code and add unit test + * add metrics and traces for egress dials + * Parallelize attach operations across different nodes for volumes that allow multi-attach + * exit if KONNECTIVITY_SERVICE_PROXY_PROTOCOL_MODE is set incorrectly + * Don't try to create VolumeSpec immediately after underlying PVC is being deleted + * Disable HTTP2 while proxying a "Connection: upgrade" request + * Allow both GRPC and http-connect mode to be toggled + * Checks error for loading audit webhook config to prevent panic + * managedfields: Update Apply time if neither object nor managedfields have changed + * Bump sigs.k8s.io/structured-merge-diff to v3 + * fieldmanager: Add failing test for no-op apply actually writing to etcd + * fieldmanager: Move ManagedFields update logic into its own class + * Add e2e test for validating JWTs as OIDC tokens + * Add Extenders to scheduler v1alpha2 component config + * ingress: add alternate resource backend + * Work-around for missing metrics on CRI-O exited containers + * Renaming: "Change" -> "Add" for consistency with underlying method + * Fix queued request accounting, extended queueset test + * Disallow use of Plugin or PluginConfig when using Policy + * Disallow duplicate PluginConfig in framework creation + * Allow container visitor to operate on selected container types + * test: Properly detect container runtime flake in e2e test + * Update to latest node-cache image + * ingress: allow wildcard hosts in IngressRule + * Use the v0.0.8 network proxy images + * Use versioned autoscaling API group in code-generator examples + * dynamic certs: pass valid object to event recorder + * dynamic certs: use correct name with event recorder + * dynamic certs: do not copy mutex via shallow copy of tls.Config + * Bug fix for TM none policy + * Start adding tests for verifying correct modes + * Check for nil cpuManager + * Fix Bazel build + * Show kubectl describe ingress error + * Hopefully plainer test strings + * Implement changes into volume plugins for skipping chown + * Update generated files + * Define new type for storing volume fsgroupchangepolicy + * Fix log formatting for skipper. "INFO" is already logged by Logf, and it wasn't in the format syntax. + * kubeadm: deprecate the flag --use-api for cert renewal + * Set field manager for kubectl diff --server-side. + * Add AnyVolumeDataSource feature gate + * Don't log "SHOULD NOT HAPPEN" errors more than once per second + * Use the same default namespace across event recorders + * kubelet: Clear the podStatusChannel before invoking syncBatch + * kubelet: Never restart containers in deleting pods + * kubelet: Don't delete pod until all container status is available + * kubelet: Preserve existing container status when pod terminated + * Test that an always-fail container can't report the pod Succeeded + * Add kubectl debug alpha command + * Update VolumePVCDatasource to GA for 1.18 + * fix scheduler.TestCoSchedulinngWithPermitPlugin and test scheduler.PermitPlugin + * Windows specific kubelet flags in kubeadm-flags.env - Uses correct pause image for Windows - Omits systemd specific flags - Common build flags function to be used by Linux and Windows - Uses user configured image repository for Windows pause image + * e2e-topology-manager: Wait for SR-IOV device plugin + * Utilerrors.Aggregate: Allow using with errors.Is() + * Fix GCE PD snapshot flakiness + * Generalized NonResourcePolicyRule.NonResourceURLs impl + * Promote GMSA to GA + * cleanup: move the test of TaintBasedEvictions features to sig-node + * client-go: use klog.V(3) for the cert-rotation controller start/stop + * Update agnhost to test OIDC validation of JWT tokens + * Add FromFile and FromExistingClassName support for SnapshotClass in external storage e2e test + * Always include remoteAddr in source IP list for audit (#87167) + * Prevent CephFS from logging senstive options + * Prevent AzureFile from logging senstive options + * Fix MountError Test + * Update dep k8s.io/utils to 0a110f9eb7ab + * Adding PathType to Ingress + * update override behavior for kubectl --tls-server-name + * Squash pkg/describe/versioned/ into pkg/describe/ + * Support TLS Server Name overrides in kubeconfig file + * Provide more verbose empty config error based on the context + * Changed kubectl cluster-info dump to not display "Cluster info dumped to standard output" message when output is stdout + * Update Cluster Autoscaler version to 1.18.0-gke.0 + * cleans up dynamiccertificates package + * Add unit tests for IsKubeletClientCSR and IsKubeletServingCSR + * Extend client-go csr package to invalidate CSRs based on signerName + * bandwidth: use regexp to handle tc output fix newly-added 'chain N' output from 'tc filter show dev XXX' + * Hide kubectl.kubernetes.io/last-applied-configuration in describe + * Wire --filename flag to exec + * Implement simple endpoint slice batching + * Make some metrics finer-grained, add dispatch counts, note immediate reject + * add a new generic filter goaway + * Fix a PodTopologySpread e2e flake + * Use GRPC mode for network proxy + * Generated API + * test/e2e/framework: remove dependencies to internal APIs + * move eparis and zmerlynn to cluster/ emeritus_approvers + * add bentheelder to cluster/ approvers + * Support intermediate certificate in certificate store + * Honor status.podIP over status.podIPs, node.spec.podCIDR over node.spec.podCIDRs + * Add default constraints to PodTopologySpread + * Update network proxy to v0.0.7 + * stop defaulting kubeconfig to http://localhost:8080 + * Add ReloadCertFromDisk flag to rest.Config and to kubeconfig which allows the provided client certificate files to be reloaded from disk (currently on every use) + * Enable topology-manager-e2e tests to run on MultiNUMA nodes. + * Refactor CPUMananger-e2e-tests so that it be reused by topology-manager-e2e-testsuite. + * Improve plugin args JSON tags + * Bump csi-driver-host-path version to get fixed block snapshots + * Currently SRIOV detection logic is reporting error if it fails to detect SRIOV device on the system. This patch aims to fix the same. + * hack/update-vendor.sh + * Replaced uber atomic with sync atomic, removed unneded "blank import" + * Fix block snapshot tests + * Fix unit test to fail with proper final gRPC code + * Add unit tests + * Call NodeUnstage after NodeStage timeout + * Call NodeUnpublish after NodePublish timeout + * Add uncertain map state to block volumes + * Add context and options to scale client + * Add mutex to Topology Manager Add/RemoveContainer This was exposed as a potential bug during e2e test debugging of this PR. + * Update TopologyManager Feature Gate: - Alpha to Beta. - True by default. - Remove redundant validation checks. + * small cleanup for ipvs readme + * validate configuration of kube-proxy IPVS tcp,tcpfin,udp timeout + * Adding IngressClass to networking/v1beta1 + * Support token authentication for network proxy + * test/e2e/:remove // TODO: write a wrapper for ExpectNoErrorWithOffset() + * test/e2e/framework/service/:simplify function CreateTCPService + * Make sure we fail the job and log more details when it does + * Move conformance image to debian:stretch-slim + * Remove unused function aggregateGoroutinesWithDelay + * Switch to UpdateVMs() for updating VMSS backend address pool + * Factor-out metrics related logic from authentication logic. + * Use only v1 CRD resources in e2e tests + * Fixed golint issues in RBD code + * Remove prometheus references from pkg/controller/endpointslice + * Add UpdateVMs() for VMSS client to allow update multiple VMSSVMs by sequential sync requests and concurent async requests. + * update WithPlugin comment, in case remove function + * Refactor: move generic functions of integration test to util directory + * refactor volume binder + * e2e_node add test for PodOverhead feature ++++ 1784 more lines (skipped) ++++ between /work/SRC/openSUSE:Leap:15.2/kubernetes/kubernetes.changes ++++ and /work/SRC/openSUSE:Leap:15.2/.kubernetes.new.3160/kubernetes.changes Old: ---- kubeadm-improve-resilency-CreateOrMutateConfigMap.patch New: ---- kubernetes-1.18.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kubectl.spec ++++++ --- /var/tmp/diff_new_pack.TUbweQ/_old 2020-03-29 14:55:51.743165831 +0200 +++ /var/tmp/diff_new_pack.TUbweQ/_new 2020-03-29 14:55:51.747165834 +0200 @@ -20,7 +20,7 @@ # baseversion - version of kubernetes for this package %define baseversion 1.17 Name: kubectl -Version: 1.17.4 +Version: 1.18.0 Release: 0 Summary: Kubectl (Kubernetes client tools) License: Apache-2.0 ++++++ kubernetes.spec ++++++ --- /var/tmp/diff_new_pack.TUbweQ/_old 2020-03-29 14:55:51.787165865 +0200 +++ /var/tmp/diff_new_pack.TUbweQ/_new 2020-03-29 14:55:51.787165865 +0200 @@ -25,26 +25,23 @@ %endif # maxcriversion - version of cri-tools which is notsupported by this version of kubeadm. -%define maxcriversion 1.18 +%define maxcriversion 1.19 # baseversion - version of kubernetes for this package -%define baseversion 1.17 +%define baseversion 1.18 # prebaseversion - release of kubernetes for the previous supported kubelet version -## DISABLED - To be re-enabled for 1.18 expected in April 2020 -##%define prebaseversion 1.16 +%define prebaseversion 1.17 # preversion - version of kubernetes for the previous supported kubelet version -## DISABLED - To be re-enabled for 1.18 expected in April 2020 -##%define preversion %{prebaseversion}.3 +%define preversion %{prebaseversion}.4 Name: kubernetes -Version: 1.17.4 +Version: 1.18.0 Release: 0 Summary: Container Scheduling and Management License: Apache-2.0 Group: System/Management URL: http://kubernetes.io Source: %{name}-%{version}.tar.xz -## DISABLED - To be re-enabled for 1.18 expected in April 2020 -##Source1: %{name}-%{preversion}.tar.xz +Source1: %{name}-%{preversion}.tar.xz Source2: genmanpages.sh Source3: kubelet.sh #systemd services @@ -68,8 +65,6 @@ Patch3: opensuse-version-checks.patch # Patch to change the default flexvolume path in kubeadm to match that used by our kubelet, else kubeadm tries to write to /usr when kubelet is already looking at a path on /var thanks to the fix to bsc#1084766 Patch4: kubeadm-opensuse-flexvolume.patch -# https://github.com/kubernetes/kubernetes/pull/85763 - Drop this patch in 1.18 as its already in -Patch5: kubeadm-improve-resilency-CreateOrMutateConfigMap.patch BuildRequires: bash-completion BuildRequires: fdupes BuildRequires: git @@ -189,18 +184,17 @@ Manage a cluster of Linux containers as a single system to accelerate Dev and simplify Ops. kubelet daemon (current version) -## DISABLED - To be re-enabled for 1.18 expected in April 2020 -##%package kubelet%{prebaseversion} -##Summary: Kubernetes kubelet daemon -##Group: System/Management -##Requires: cri-runtime -##Requires: kubernetes-kubelet-common -##Provides: kubernetes-kubelet = %{preversion} -##%{?systemd_requires} -## -##%description kubelet%{prebaseversion} -##Manage a cluster of Linux containers as a single system to accelerate Dev and simplify Ops. -##kubelet daemon (previous version for upgrades) +%package kubelet%{prebaseversion} +Summary: Kubernetes kubelet daemon +Group: System/Management +Requires: cri-runtime +Requires: kubernetes-kubelet-common +Provides: kubernetes-kubelet = %{preversion} +%{?systemd_requires} + +%description kubelet%{prebaseversion} +Manage a cluster of Linux containers as a single system to accelerate Dev and simplify Ops. +kubelet daemon (previous version for upgrades) %endif @@ -245,8 +239,7 @@ # openSUSE style of upgrade handling # Kubeadm requires current kubelet version and previous Requires: kubernetes-kubelet = %{version}-%release -## DISABLED - To be re-enabled for 1.18 expected in April 2020 -##Requires: kubernetes-kubelet = %{preversion} +Requires: kubernetes-kubelet = %{preversion} %endif Conflicts: cri-tools >= %{maxcriversion} # if master is installed with node, version and release must be the same @@ -295,20 +288,15 @@ Kubernetes client tools like kubectl. %prep -## DISABLED - To be re-enabled for 1.18 expected in April 2020 -##%if 0%{?is_opensuse} -##%setup -q -T -D -b 1 -n %{name}-%{preversion} -##%endif +%if 0%{?is_opensuse} +%setup -q -T -D -b 1 -n %{name}-%{preversion} +%endif %setup -q %if 0%{?is_opensuse} %patch2 -p0 %patch3 -p1 %patch4 -p0 %endif -# from 1.18, kubeadm already has the patch -%if "%{baseversion}" == "1.16" || "%{baseversion}" == "1.17" -%patch5 -p1 -%endif %if !0%{?is_opensuse} %{goprep} github.com/kubernetes/kubernetes %endif @@ -347,14 +335,13 @@ popd # Make previous version of kubelet for migration aiding -## DISABLED - To be re-enabled for 1.18 expected in April 2020 -##%if 0%{?is_opensuse} -##echo "+++ BUILDING Previous kubelet version" -##export KUBE_GIT_VERSION=v%{preversion} -##pushd %{_builddir}/%{name}-%{preversion} -##make %{?_smp_mflags} WHAT="cmd/kubelet" -##popd -##%endif +%if 0%{?is_opensuse} +echo "+++ BUILDING Previous kubelet version" +export KUBE_GIT_VERSION=v%{preversion} +pushd %{_builddir}/%{name}-%{preversion} +make %{?_smp_mflags} WHAT="cmd/kubelet" +popd +%endif %install @@ -382,10 +369,9 @@ echo "+++ INSTALLING kubelet multi-version loader" install -p -m 755 %{SOURCE3} %{buildroot}%{_bindir}/kubelet -## DISABLED - To be re-enabled for 1.18 expected in April 2020 -##echo "+++ INSTALLING kubelet%{prebaseversion}" -##mv %{_builddir}/%{name}-%{preversion}/${output_path}/kubelet %{_builddir}/%{name}-%{preversion}/${output_path}/kubelet%{prebaseversion} -##install -p -m 755 -t %{buildroot}%{_bindir} %{_builddir}/%{name}-%{preversion}/${output_path}/kubelet%{prebaseversion} +echo "+++ INSTALLING kubelet%{prebaseversion}" +mv %{_builddir}/%{name}-%{preversion}/${output_path}/kubelet %{_builddir}/%{name}-%{preversion}/${output_path}/kubelet%{prebaseversion} +install -p -m 755 -t %{buildroot}%{_bindir} %{_builddir}/%{name}-%{preversion}/${output_path}/kubelet%{prebaseversion} # create sysconfig.kubelet-kubernetes in fullupdir sed -i -e 's|BASE_VERSION|%{baseversion}|g' %{SOURCE22} @@ -590,10 +576,9 @@ %license LICENSE %{_bindir}/kubelet%{baseversion} -## DISABLED - To be re-enabled for 1.18 expected in April 2020 -##%files kubelet%{prebaseversion} -##%license LICENSE -##%{_bindir}/kubelet%{baseversion} +%files kubelet%{prebaseversion} +%license LICENSE +%{_bindir}/kubelet%{prebaseversion} %endif ++++++ _service ++++++ --- /var/tmp/diff_new_pack.TUbweQ/_old 2020-03-29 14:55:51.859165921 +0200 +++ /var/tmp/diff_new_pack.TUbweQ/_new 2020-03-29 14:55:51.859165921 +0200 @@ -3,8 +3,8 @@ <param name="url">https://github.com/kubernetes/kubernetes.git</param> <param name="scm">git</param> <param name="exclude">.git</param> - <param name="versionformat">1.17.4</param> - <param name="revision">v1.17.4</param> + <param name="versionformat">1.18.0</param> + <param name="revision">v1.18.0</param> <param name="changesgenerate">enable</param> </service> <service name="tar" mode="disabled"/> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.TUbweQ/_old 2020-03-29 14:55:51.883165939 +0200 +++ /var/tmp/diff_new_pack.TUbweQ/_new 2020-03-29 14:55:51.883165939 +0200 @@ -1,4 +1,4 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/kubernetes/kubernetes.git</param> - <param name="changesrevision">589a6e12b58314615c045ad70821f500e8d43486</param></service></servicedata> + <param name="changesrevision">0630031f85ba508559abcb40a1adca4ac2350056</param></service></servicedata> \ No newline at end of file ++++++ kubernetes.obsinfo ++++++ --- /var/tmp/diff_new_pack.TUbweQ/_old 2020-03-29 14:55:52.047166067 +0200 +++ /var/tmp/diff_new_pack.TUbweQ/_new 2020-03-29 14:55:52.047166067 +0200 @@ -1,5 +1,5 @@ name: kubernetes -version: 1.17.4 -mtime: 1584046471 -commit: 8d8aa39598534325ad77120c120a22b3a990b5ea +version: 1.18.0 +mtime: 1585147792 +commit: 9e991415386e4cf155a24b1da15becaa390438d8 ++++++ opensuse-version-checks.patch ++++++ --- /var/tmp/diff_new_pack.TUbweQ/_old 2020-03-29 14:55:52.063166080 +0200 +++ /var/tmp/diff_new_pack.TUbweQ/_new 2020-03-29 14:55:52.067166083 +0200 @@ -1,25 +1,11 @@ -From e8275cf8969a8b000357714316d662531f624e46 Mon Sep 17 00:00:00 2001 -From: Richard Brown <rbrown...@opensuse.org> -Date: Mon, 5 Aug 2019 15:45:43 +0200 -Subject: [PATCH] Use kubic.opensuse.org for kubeadm version checks - ---- - cmd/kubeadm/app/util/version.go | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/cmd/kubeadm/app/util/version.go b/cmd/kubeadm/app/util/version.go -index 80e75d5a7d..6aff6a0134 100644 ---- a/cmd/kubeadm/app/util/version.go -+++ b/cmd/kubeadm/app/util/version.go -@@ -38,7 +38,7 @@ const ( +--- kubernetes-orig/cmd/kubeadm/app/util/version.go 2020-03-16 16:53:48.277941771 +0100 ++++ kubernetes/cmd/kubeadm/app/util/version.go 2020-03-16 17:08:46.753358788 +0100 +@@ -38,7 +38,7 @@ ) var ( - kubeReleaseBucketURL = "https://dl.k8s.io" + kubeReleaseBucketURL = "https://kubic.opensuse.org" kubeReleaseRegex = regexp.MustCompile(`^v?(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)([-0-9a-zA-Z_\.+]*)?$`) - kubeReleaseLabelRegex = regexp.MustCompile(`^[[:lower:]]+(-[-\w_\.]+)?$`) + kubeReleaseLabelRegex = regexp.MustCompile(`(k8s-master|((latest|stable)+(-[1-9](\.[1-9]([0-9])?)?)?))\z`) kubeBucketPrefixes = regexp.MustCompile(`^((release|ci|ci-cross)/)?([-\w_\.+]+)$`) --- -2.22.0 -