Hello community,

here is the log from the commit of package kubernetes for openSUSE:Factory 
checked in at 2020-01-13 22:16:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kubernetes (Old)
 and      /work/SRC/openSUSE:Factory/.kubernetes.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kubernetes"

Mon Jan 13 22:16:22 2020 rev:52 rq:764079 version:1.17.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kubernetes/kubectl.changes       2019-12-02 
11:38:10.114458501 +0100
+++ /work/SRC/openSUSE:Factory/.kubernetes.new.6675/kubectl.changes     
2020-01-13 22:17:39.118410459 +0100
@@ -1,0 +2,1725 @@
+Thu Dec 12 13:54:23 UTC 2019 - Richard Brown <rbr...@suse.com>
+
+- Disable building on openSUSE (except Backports) as kubernetes-client 
provides identical functionality 
+
+-------------------------------------------------------------------
+Mon Dec 09 22:12:38 UTC 2019 - rbr...@suse.com
+
+- Update to version 1.17.0:
+  * Refactor parsing logic for service IP and ranges, add tests
+  * Fix bug in apiserver service cluster cidr split
+  * Switch addon resizer to 1.8.7
+  * Deflake pod readiness e2e
+  * Add/Update CHANGELOG-1.17.md for v1.17.0-rc.2.
+  * Fix iscsi refcounter in the case of no Block iscsi volumes
+  * Ensure webhook backend requests are not artificially rate-limited
+  * Retain objects for a limited lifetime in the mutation cache detector by 
default
+  * Enable mutation detection
+  * Make cluster auto scaler use leases
+  * Bump Cluster Autoscaler version to 1.17.0
+  * fix: padded base64 encoded docker auth field
+  * apiextensions: filter required nullable to workaround kubectl validation
+  * update cadvisor  dependency to v0.35.0
+  * Bumped the number of times a node tries to lookup itself
+  * Wait for PV to be available before creating PVCs in volume binding test
+  * increase pv controller resync period to try to deflake api update conflicts
+  * Fix GKE upgrade test.
+  * Use plugin name for filtering metrics
+  * Provided a mechanism to re-register hidden metrics.
+  * Deep copying EndpointSlices in reconciler before modifying them.
+  * Set node cidr mask size ipv4/ipv6 config
+  * Revert "kube-proxy: check KUBE-MARK-DROP"
+  * Add/Update CHANGELOG-1.17.md for v1.17.0-rc.1.
+  * Initialize FeatureGate map for KubeProxy config. #1929
+  * Fill in default node cidr mask size when dual stack is not enabled
+  * apiextensions: fixup go-openapi constructor invocations
+  * hack/pin-dependency.sh github.com/go-openapi/validate v0.19.5
+  * apiextensions: add items+type integration test
+  * fix multiple node cidr masks in providerless build
+  * add providerless tag to vsphere volume code
+  * add providerless tags to new awsebs code
+  * fix providerless build post-CSI migration
+  * Plumb authorization webhook version from CLI to config
+  * Add/Update CHANGELOG-1.17.md for v1.17.0-beta.2.
+  * Update CHANGELOG-1.17.md for v1.17.0-beta.2.
+  * Addon Manager: Fix parsing KUBECTL_EXTRA_PRUNE_WHITELIST
+  * Remove metric be hidden log temporarily.
+  * apiextensions: freeze & doc supported v1.16 OpenAPI formats
+  * fix stress test: it's not doing anything
+  * Skip Node printing in kubectl column test
+  * fix nasty bug
+  * inline GC in expiring cache
+  * Add single-item list/watch to delegated authentication reader role
+  * add comments for compatibility
+  * Disabling EndpointSlice feature gate by default
+  * apiextensions: ratcheting update validation for atomic item of set 
list-type
+  * apiextensions: factor out predicate iterator in validation
+  * Fix label mutation in endpoints controller
+  * Reverting managed-by-setup annotation
+  * Jump out of spec translation early if the spec is not migratable. Unit 
tests work after all!
+  * Add CSINodes to AttachDetachControllerRecovery test
+  * Panic on error when creating fake volume host, add a TODO to clean up later
+  * De-race some CSI unit tests that were initializing the plugin manager…ger 
(and plugins) twice. Set some const variables earlier to support node info 
manager initialization and wait for initialization to complete before finishing 
plugin setup.
+  * Update attachdetach-controller role to include permissions to get, list, 
and watch csinodes for CSIMigration
+  * Flip CSIMigration and CSIMigrationGCE to Beta
+  * kubeadm: Use only stdout when calling kubelet for its version
+  * apiextensions: validate that list-type set has atomic items
+  * apiextensions: clarify validation errors
+  * apiextension: clarify what atomic means
+  * Remove pkg/util/mount (moved out of tree)
+  * kubeadm: use the right name for the no validator function
+  * e2e: promote CRD defaulting test to conformance test
+  * service topology: remove redundant API validation for local external 
traffic policy
+  * Increase cache size for endpointslices.
+  * pager.go: Don't set ResourveVersion on subsequent List calls
+  * Add logic for translating zone/zones/allowtopologies
+  * Autogenerated files
+  * Flip CSIMigrationAWS flag to be beta and off by default
+  * kube-proxy: sync rules when current node labels change detected
+  * Service Topology implementation
+  * Add API for feature gate ServiceTopology
+  * Restrict mirror pod owner references (#84657)
+  * Allow multiple node cidr masks in cm
+  * Revert "Enable snapshot e2e test for csi pd driver"
+  * Update inline volume translated PV Name to be unique per disk so that 
staging paths are unique
+  * Separate staging/publish and unstaging/unpublish logics for block
+  * Change publish path for CSI block volume per pod
+  * Disable in-tree plugins migrated to CSI
+  * Brushed up fairqueuing package
+  * Split CustomBlockVolumeMapper and CustomBlockVolumeUnmapper
+  * Refactor BlockVolumeMapper and BlockVolumeUnmapper interface
+  * Move test inputs for EncryptionConfiguration tests into testdata.
+  * migrate token cache to cache.Expiring
+  * Add an expiring cache for the caching token authenticator
+  * Avoid constructing table printer on every componentstatus request
+  * Add support for --runtime-config=api/beta=false, 
--feature-gates=AllBeta=false
+  * update pd csi driver controller manifests
+  * Ensuring EndpointSlice controller does not start when feature gate or API 
are disabled
+  * Use CSINodes v1 API in scheduler
+  * Enable snapshottable e2e test for csi pd driver - add pd driver manifests 
- modify snapshottable test case
+  * Move RegisterNodeFlags() to e2e_node test
+  * Fix --resource-version handling in kubectl
+  * rename PluginConfigArgs to AlgorithmConfigArgs
+  * Change mount.NewOSExec to utilexec.New
+  * Change getDeviceMajorMinor to use unix.Stat
+  * Fix error messages in operation_generator.go
+  * Remove remaining empty file in unmapBindMountDevice
+  * Rename IsBindMountExist to IsDeviceBindMountExist
+  * Remove klog for output error instead return err with context
+  * Improve comments for volume path hanlder and volume.go
+  * Check and return error first in IsSymlinkExist and IsBindMountExist
+  * Move MapBlockVolume call to operation_generator and add UnmapBlockVolume
+  * Make descriptor lock per pod and release it per pod
+  * Change globalMapPath to bind mount from symlink
+  * Check error return from closing connection
+  * Update debian-iptables image digests for v12.0.1 build
+  * Update debian-iptables iptables-wrapper script
+  * Update debian-iptables image digests for v12.0.0 build
+  * Add mode-detecting iptables wrappers to the debian-iptables image
+  * Update debian-base image digests for v2.0.0 build
+  * Bump debian-base to buster
+  * add table convertor to componentstatus
+  * add retry to etcd operations
+  * Specify a port range to ILB firewall rule create.
+  * Renamed FeatureGate RequestManagement to APIPriorityAndFairness
+  * Regenerated pb.go for flowcontrol/v1alpha1
+  * updated generated files
+  * applied gofmt
+  * Identify cluster scope by a boolean field rather than a special namespace
+  * Enabled discrimination on target namespace
+  * Include *intstr.IntOrString in API compatibility tests
+  * refactor apparmor utils in e2e
+  * Correct the checking of robinIndex
+  * Updating kube-proxy to support new EndpointSlice address types
+  * pkg/kubeapiserver: fix staticcheck warning
+  * pkg/client: fix staticcheck warning
+  * Hide scheduler metrics that have been deprecated in 1.14
+  * Hide apiserver metrics that have been deprecated in 1.15
+  * add DeleteOptions conversion
+  * Hide apiserver metrics that have been deprecated in 1.14 Update E2E test 
accordingly.
+  * test(cr::update): add corresponding tests
+  * add unit tests
+  * remove disk locks per vm
+  * tests: Adds large requests tests
+  * Promoting EndpointSlices to beta
+  * Update dependency vmware/govmomi to v0.20.3
+  * Update bucket for scheduler framework latency histograms.
+  * Retire mount.Exec for k8s.io/utils/exec
+  * guard kubeadm dependencies on k8s.io/kubernetes
+  * Wait for terminating pods to be deleted
+  * Add TODOs for removing invalid e2e dependencies
+  * Strip nullable for Server-side apply
+  * Update structured-merge-diff to latest version
+  * Update CHANGELOG-1.16.md for v1.16.3.
+  * Update CHANGELOG-1.14.md for v1.14.9.
+  * Update CHANGELOG-1.15.md for v1.15.6.
+  * report cache mises in cached token authenticator benchmark
+  * Refactored PriorityLevelConfiguration
+  * make client authentication optional for test kube-apiserver
+  * Revert "76093 restructure LICENSES file generation"
+  * Revert "76586 Add generated license files"
+  * Increase cache size for leases
+  * Remove an infinite poll
+  * Store topology spread constraints in metadata with labels.Selector
+  * fixed golint errors in pkg/apis/extensions register.go and types.go
+  * Fixed lint and staticcheck oversights
+  * Continue removing file in ManagerImpl#removeContents
+  * kubeadm: enable kubelet client certificate rotation on primary CP nodes
+  * Convert volume binder to use CSINode GA
+  * Expand unit tests for topology translation in csi-translation-lib
+  * Use CSI translation lib in VolumeBinderPredicate
+  * Convert zones to volume topology in CSI translation lib
+  * dynamic reload cluster authentication info for aggregated API servers
+  * add RequiresExactMatch for label.Selector
+  * Add Reset() API to stability framework
+  * Hide proxy metrics that have been deprecated in 1.14
+  * Added overlooked BUILD files
+  * fix wrong link
+  * Brushing up queueset
+  * Remove memory resource constraint
+  * Windows: Fixes termination-file mounting for containerd
+  * scheduler: make algorithm source an option
+  * Use log functions of core framework on e2e/storage/utils
+  * Add startupProbe result handling to kuberuntime
+  * feat(scale): update CR in UpdatedObjectInfo impl
+  * feat: graduate ResourceQuotaScopeSelectors to GA
+  * Add comments to explain golang.org replace directives
+  * Remove unused func and struct from pod.go
+  * Hide metrics that have been deprecated in 1.14
+  * Deal with auto-generated files. - Update bazel by hack/update-bazel.sh
+  * Add metrics flag to show hidden metrics to kube-apiserver
+  * Add common flag validation functionality shared by kube-binaries
+  * 76586 Add generated license files
+  * vsphere: check if volume exists before create
+  * Remove unused function from e2e framework rest.go
+  * 76093 restructure LICENSES file generation
+  * serve hns.psm1 StackdriverLogging-v1-9.exe GetGcePdName.dll from GCS
+  * Pass InformerFactory instead of indivisual informers in scheduler 
configuration logic
++++ 1528 more lines (skipped)
++++ between /work/SRC/openSUSE:Factory/kubernetes/kubectl.changes
++++ and /work/SRC/openSUSE:Factory/.kubernetes.new.6675/kubectl.changes
--- /work/SRC/openSUSE:Factory/kubernetes/kubernetes.changes    2019-12-02 
11:38:10.458458572 +0100
+++ /work/SRC/openSUSE:Factory/.kubernetes.new.6675/kubernetes.changes  
2020-01-13 22:17:41.658411638 +0100
@@ -1,0 +2,1733 @@
+Mon Jan 13 15:30:53 UTC 2020 - Richard Brown <rbr...@suse.com>
+
+- Add kubeadm-opensuse-flexvolume.patch so kubeadm uses same path as kubelet 
(bsc#1084766) 
+
+-------------------------------------------------------------------
+Mon Dec 16 15:56:04 UTC 2019 - Michel Normand <norm...@linux.vnet.ibm.com>
+
+- Increase memory _constraints for ppc64le to avoid build failure
+  w/ kubernetes version 1.17.0
+  "defaulter.go:288] cannot import package..."
+- Exclude ppc64
+
+-------------------------------------------------------------------
+Mon Dec 09 22:12:38 UTC 2019 - rbr...@suse.com
+
+- Update to version 1.17.0:
+  * Refactor parsing logic for service IP and ranges, add tests
+  * Fix bug in apiserver service cluster cidr split
+  * Switch addon resizer to 1.8.7
+  * Deflake pod readiness e2e
+  * Add/Update CHANGELOG-1.17.md for v1.17.0-rc.2.
+  * Fix iscsi refcounter in the case of no Block iscsi volumes
+  * Ensure webhook backend requests are not artificially rate-limited
+  * Retain objects for a limited lifetime in the mutation cache detector by 
default
+  * Enable mutation detection
+  * Make cluster auto scaler use leases
+  * Bump Cluster Autoscaler version to 1.17.0
+  * fix: padded base64 encoded docker auth field
+  * apiextensions: filter required nullable to workaround kubectl validation
+  * update cadvisor  dependency to v0.35.0
+  * Bumped the number of times a node tries to lookup itself
+  * Wait for PV to be available before creating PVCs in volume binding test
+  * increase pv controller resync period to try to deflake api update conflicts
+  * Fix GKE upgrade test.
+  * Use plugin name for filtering metrics
+  * Provided a mechanism to re-register hidden metrics.
+  * Deep copying EndpointSlices in reconciler before modifying them.
+  * Set node cidr mask size ipv4/ipv6 config
+  * Revert "kube-proxy: check KUBE-MARK-DROP"
+  * Add/Update CHANGELOG-1.17.md for v1.17.0-rc.1.
+  * Initialize FeatureGate map for KubeProxy config. #1929
+  * Fill in default node cidr mask size when dual stack is not enabled
+  * apiextensions: fixup go-openapi constructor invocations
+  * hack/pin-dependency.sh github.com/go-openapi/validate v0.19.5
+  * apiextensions: add items+type integration test
+  * fix multiple node cidr masks in providerless build
+  * add providerless tag to vsphere volume code
+  * add providerless tags to new awsebs code
+  * fix providerless build post-CSI migration
+  * Plumb authorization webhook version from CLI to config
+  * Add/Update CHANGELOG-1.17.md for v1.17.0-beta.2.
+  * Update CHANGELOG-1.17.md for v1.17.0-beta.2.
+  * Addon Manager: Fix parsing KUBECTL_EXTRA_PRUNE_WHITELIST
+  * Remove metric be hidden log temporarily.
+  * apiextensions: freeze & doc supported v1.16 OpenAPI formats
+  * fix stress test: it's not doing anything
+  * Skip Node printing in kubectl column test
+  * fix nasty bug
+  * inline GC in expiring cache
+  * Add single-item list/watch to delegated authentication reader role
+  * add comments for compatibility
+  * Disabling EndpointSlice feature gate by default
+  * apiextensions: ratcheting update validation for atomic item of set 
list-type
+  * apiextensions: factor out predicate iterator in validation
+  * Fix label mutation in endpoints controller
+  * Reverting managed-by-setup annotation
+  * Jump out of spec translation early if the spec is not migratable. Unit 
tests work after all!
+  * Add CSINodes to AttachDetachControllerRecovery test
+  * Panic on error when creating fake volume host, add a TODO to clean up later
+  * De-race some CSI unit tests that were initializing the plugin manager…ger 
(and plugins) twice. Set some const variables earlier to support node info 
manager initialization and wait for initialization to complete before finishing 
plugin setup.
+  * Update attachdetach-controller role to include permissions to get, list, 
and watch csinodes for CSIMigration
+  * Flip CSIMigration and CSIMigrationGCE to Beta
+  * kubeadm: Use only stdout when calling kubelet for its version
+  * apiextensions: validate that list-type set has atomic items
+  * apiextensions: clarify validation errors
+  * apiextension: clarify what atomic means
+  * Remove pkg/util/mount (moved out of tree)
+  * kubeadm: use the right name for the no validator function
+  * e2e: promote CRD defaulting test to conformance test
+  * service topology: remove redundant API validation for local external 
traffic policy
+  * Increase cache size for endpointslices.
+  * pager.go: Don't set ResourveVersion on subsequent List calls
+  * Add logic for translating zone/zones/allowtopologies
+  * Autogenerated files
+  * Flip CSIMigrationAWS flag to be beta and off by default
+  * kube-proxy: sync rules when current node labels change detected
+  * Service Topology implementation
+  * Add API for feature gate ServiceTopology
+  * Restrict mirror pod owner references (#84657)
+  * Allow multiple node cidr masks in cm
+  * Revert "Enable snapshot e2e test for csi pd driver"
+  * Update inline volume translated PV Name to be unique per disk so that 
staging paths are unique
+  * Separate staging/publish and unstaging/unpublish logics for block
+  * Change publish path for CSI block volume per pod
+  * Disable in-tree plugins migrated to CSI
+  * Brushed up fairqueuing package
+  * Split CustomBlockVolumeMapper and CustomBlockVolumeUnmapper
+  * Refactor BlockVolumeMapper and BlockVolumeUnmapper interface
+  * Move test inputs for EncryptionConfiguration tests into testdata.
+  * migrate token cache to cache.Expiring
+  * Add an expiring cache for the caching token authenticator
+  * Avoid constructing table printer on every componentstatus request
+  * Add support for --runtime-config=api/beta=false, 
--feature-gates=AllBeta=false
+  * update pd csi driver controller manifests
+  * Ensuring EndpointSlice controller does not start when feature gate or API 
are disabled
+  * Use CSINodes v1 API in scheduler
+  * Enable snapshottable e2e test for csi pd driver - add pd driver manifests 
- modify snapshottable test case
+  * Move RegisterNodeFlags() to e2e_node test
+  * Fix --resource-version handling in kubectl
+  * rename PluginConfigArgs to AlgorithmConfigArgs
+  * Change mount.NewOSExec to utilexec.New
+  * Change getDeviceMajorMinor to use unix.Stat
+  * Fix error messages in operation_generator.go
+  * Remove remaining empty file in unmapBindMountDevice
+  * Rename IsBindMountExist to IsDeviceBindMountExist
+  * Remove klog for output error instead return err with context
+  * Improve comments for volume path hanlder and volume.go
+  * Check and return error first in IsSymlinkExist and IsBindMountExist
+  * Move MapBlockVolume call to operation_generator and add UnmapBlockVolume
+  * Make descriptor lock per pod and release it per pod
+  * Change globalMapPath to bind mount from symlink
+  * Check error return from closing connection
+  * Update debian-iptables image digests for v12.0.1 build
+  * Update debian-iptables iptables-wrapper script
+  * Update debian-iptables image digests for v12.0.0 build
+  * Add mode-detecting iptables wrappers to the debian-iptables image
+  * Update debian-base image digests for v2.0.0 build
+  * Bump debian-base to buster
+  * add table convertor to componentstatus
+  * add retry to etcd operations
+  * Specify a port range to ILB firewall rule create.
+  * Renamed FeatureGate RequestManagement to APIPriorityAndFairness
+  * Regenerated pb.go for flowcontrol/v1alpha1
+  * updated generated files
+  * applied gofmt
+  * Identify cluster scope by a boolean field rather than a special namespace
+  * Enabled discrimination on target namespace
+  * Include *intstr.IntOrString in API compatibility tests
+  * refactor apparmor utils in e2e
+  * Correct the checking of robinIndex
+  * Updating kube-proxy to support new EndpointSlice address types
+  * pkg/kubeapiserver: fix staticcheck warning
+  * pkg/client: fix staticcheck warning
+  * Hide scheduler metrics that have been deprecated in 1.14
+  * Hide apiserver metrics that have been deprecated in 1.15
+  * add DeleteOptions conversion
+  * Hide apiserver metrics that have been deprecated in 1.14 Update E2E test 
accordingly.
+  * test(cr::update): add corresponding tests
+  * add unit tests
+  * remove disk locks per vm
+  * tests: Adds large requests tests
+  * Promoting EndpointSlices to beta
+  * Update dependency vmware/govmomi to v0.20.3
+  * Update bucket for scheduler framework latency histograms.
+  * Retire mount.Exec for k8s.io/utils/exec
+  * guard kubeadm dependencies on k8s.io/kubernetes
+  * Wait for terminating pods to be deleted
+  * Add TODOs for removing invalid e2e dependencies
+  * Strip nullable for Server-side apply
+  * Update structured-merge-diff to latest version
+  * Update CHANGELOG-1.16.md for v1.16.3.
+  * Update CHANGELOG-1.14.md for v1.14.9.
+  * Update CHANGELOG-1.15.md for v1.15.6.
+  * report cache mises in cached token authenticator benchmark
+  * Refactored PriorityLevelConfiguration
+  * make client authentication optional for test kube-apiserver
+  * Revert "76093 restructure LICENSES file generation"
+  * Revert "76586 Add generated license files"
+  * Increase cache size for leases
+  * Remove an infinite poll
+  * Store topology spread constraints in metadata with labels.Selector
+  * fixed golint errors in pkg/apis/extensions register.go and types.go
+  * Fixed lint and staticcheck oversights
+  * Continue removing file in ManagerImpl#removeContents
+  * kubeadm: enable kubelet client certificate rotation on primary CP nodes
+  * Convert volume binder to use CSINode GA
+  * Expand unit tests for topology translation in csi-translation-lib
+  * Use CSI translation lib in VolumeBinderPredicate
+  * Convert zones to volume topology in CSI translation lib
+  * dynamic reload cluster authentication info for aggregated API servers
+  * add RequiresExactMatch for label.Selector
+  * Add Reset() API to stability framework
+  * Hide proxy metrics that have been deprecated in 1.14
+  * Added overlooked BUILD files
+  * fix wrong link
+  * Brushing up queueset
+  * Remove memory resource constraint
+  * Windows: Fixes termination-file mounting for containerd
+  * scheduler: make algorithm source an option
+  * Use log functions of core framework on e2e/storage/utils
+  * Add startupProbe result handling to kuberuntime
+  * feat(scale): update CR in UpdatedObjectInfo impl
+  * feat: graduate ResourceQuotaScopeSelectors to GA
+  * Add comments to explain golang.org replace directives
+  * Remove unused func and struct from pod.go
+  * Hide metrics that have been deprecated in 1.14
+  * Deal with auto-generated files. - Update bazel by hack/update-bazel.sh
++++ 1547 more lines (skipped)
++++ between /work/SRC/openSUSE:Factory/kubernetes/kubernetes.changes
++++ and /work/SRC/openSUSE:Factory/.kubernetes.new.6675/kubernetes.changes

Old:
----
  kubernetes-1.16.3.tar.xz

New:
----
  kubeadm-opensuse-flexvolume.patch
  kubernetes-1.17.0.tar.xz

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

Other differences:
------------------
++++++ kubectl.spec ++++++
--- /var/tmp/diff_new_pack.scPgVL/_old  2020-01-13 22:17:45.170413267 +0100
+++ /var/tmp/diff_new_pack.scPgVL/_new  2020-01-13 22:17:45.178413270 +0100
@@ -18,9 +18,9 @@
 
 %{!?tmpfiles_create:%global tmpfiles_create systemd-tmpfiles --create}
 # baseversion - version of kubernetes for this package
-%define baseversion 1.16
+%define baseversion 1.17
 Name:           kubectl
-Version:        %{baseversion}.3
+Version:        %{baseversion}.0
 Release:        0
 Summary:        Kubectl (Kubernetes client tools)
 License:        Apache-2.0
@@ -34,9 +34,9 @@
 BuildRequires:  fdupes
 BuildRequires:  git
 BuildRequires:  go-go-md2man
-# Kubernetes 1.16.1 requires at least go 1.12.10 (see changelog)
-BuildRequires:  golang(API) = 1.12
-BuildRequires:  go >= 1.12.10
+# Kubernetes 1.17.0 requires at least go 1.13.4 (see changelog)
+BuildRequires:  golang(API) = 1.13
+BuildRequires:  go >= 1.13.4
 BuildRequires:  golang(github.com/jteeuwen/go-bindata)
 BuildRequires:  golang-packaging
 BuildRequires:  rsync
@@ -45,6 +45,10 @@
 # Conflict with kubernetes-client which already provides kubectl but as a link
 # to hyperkube, provided by kubernetes-common
 Conflicts:      kubernetes-client
+# kubectl as a seperate package was created purely for use in SLE/PackageHub, 
not relevant to openSUSE where kubernetes-client is packaged. So disable 
building outside of Backports
+%if 0%{?is_opensuse} && ! 0%{?is_backports}
+ExclusiveArch: do-not-build
+%endif
 ExcludeArch:    %{ix86} s390
 %{go_nostrip}
 %{go_provides}

++++++ kubernetes.spec ++++++
--- /var/tmp/diff_new_pack.scPgVL/_old  2020-01-13 22:17:45.230413294 +0100
+++ /var/tmp/diff_new_pack.scPgVL/_new  2020-01-13 22:17:45.238413298 +0100
@@ -18,11 +18,11 @@
 
 %{!?tmpfiles_create:%global tmpfiles_create systemd-tmpfiles --create}
 # baseversion - version of kubernetes for this package
-%define baseversion 1.16
+%define baseversion 1.17
 # maxcriversion - version of cri-tools which is notsupported by this version 
of kubeadm.
-%define maxcriversion 1.17
+%define maxcriversion 1.18
 Name:           kubernetes
-Version:        %{baseversion}.3
+Version:        %{baseversion}.0
 Release:        0
 Summary:        Container Scheduling and Management
 License:        Apache-2.0
@@ -48,18 +48,20 @@
 Patch2:         kubeadm-opensuse-registry.patch
 # Patch to change the version check server to kubic.opensuse.org
 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
 BuildRequires:  bash-completion
 BuildRequires:  fdupes
 BuildRequires:  git
 BuildRequires:  go-go-md2man
-# Kubernetes 1.16.1 requires at least go 1.12.10 (see changelog)
-BuildRequires:  golang(API) = 1.12
-BuildRequires:  go >= 1.12.9
+# Kubernetes 1.17.0 requires at least go 1.13.4 (see changelog)
+BuildRequires:  golang(API) = 1.13
+BuildRequires:  go >= 1.13.4
 BuildRequires:  golang(github.com/jteeuwen/go-bindata)
 BuildRequires:  golang-packaging
 BuildRequires:  rsync
 BuildRequires:  systemd-rpm-macros
-ExcludeArch:    %{ix86} s390
+ExcludeArch:    %{ix86} s390 ppc64
 %{go_nostrip}
 %{go_provides}
 
@@ -246,6 +248,7 @@
 %if 0%{?is_opensuse}
 %patch2 -p0
 %patch3 -p1
+%patch4 -p0
 %endif
 %{goprep} github.com/kubernetes/kubernetes
 

++++++ _constraints ++++++
--- /var/tmp/diff_new_pack.scPgVL/_old  2020-01-13 22:17:45.346413348 +0100
+++ /var/tmp/diff_new_pack.scPgVL/_new  2020-01-13 22:17:45.350413350 +0100
@@ -10,4 +10,14 @@
       <size unit="G">6</size>
     </disk>
   </hardware>
+  <overwrite>
+    <conditions>
+      <arch>ppc64le</arch>
+    </conditions>
+    <hardware>
+    <physicalmemory>
+      <size unit="M">9600</size>
+    </physicalmemory>
+    </hardware>
+  </overwrite>
 </constraints>

++++++ _service ++++++
--- /var/tmp/diff_new_pack.scPgVL/_old  2020-01-13 22:17:45.374413362 +0100
+++ /var/tmp/diff_new_pack.scPgVL/_new  2020-01-13 22:17:45.378413363 +0100
@@ -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.16.3</param>
-    <param name="revision">v1.16.3</param>
+    <param name="versionformat">1.17.0</param>
+    <param name="revision">v1.17.0</param>
     <param name="changesgenerate">enable</param>
   </service>
   <service name="tar" mode="disabled"/>

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.scPgVL/_old  2020-01-13 22:17:45.398413372 +0100
+++ /var/tmp/diff_new_pack.scPgVL/_new  2020-01-13 22:17:45.398413372 +0100
@@ -1,4 +1,4 @@
 <servicedata>
 <service name="tar_scm">
                 <param 
name="url">https://github.com/kubernetes/kubernetes.git</param>
-              <param 
name="changesrevision">b3cbbae08ec52a7fc73d334838e18d17e8512749</param></service></servicedata>
\ No newline at end of file
+              <param 
name="changesrevision">70132b0f130acc0bed193d9ba59dd186f0e634cf</param></service></servicedata>
\ No newline at end of file

++++++ kubeadm-opensuse-flexvolume.patch ++++++
--- cmd/kubeadm/app/phases/controlplane/volumes.go
+++ cmd/kubeadm/app/phases/controlplane/volumes.go      2020-01-13 
16:27:04.267070673 +0100
@@ -33,7 +33,7 @@
        caCertsVolumeName              = "ca-certs"
        caCertsVolumePath              = "/etc/ssl/certs"
        flexvolumeDirVolumeName        = "flexvolume-dir"
-       defaultFlexvolumeDirVolumePath = 
"/usr/libexec/kubernetes/kubelet-plugins/volume/exec"
+       defaultFlexvolumeDirVolumePath = "/var/lib/kubelet/volume-plugin"
 )
 
 // caCertsExtraVolumePaths specifies the paths that can be conditionally 
mounted into the apiserver and controller-manager containers
++++++ kubernetes-1.16.3.tar.xz -> kubernetes-1.17.0.tar.xz ++++++
/work/SRC/openSUSE:Factory/kubernetes/kubernetes-1.16.3.tar.xz 
/work/SRC/openSUSE:Factory/.kubernetes.new.6675/kubernetes-1.17.0.tar.xz 
differ: char 25, line 1

++++++ kubernetes.obsinfo ++++++
--- /var/tmp/diff_new_pack.scPgVL/_old  2020-01-13 22:17:45.570413452 +0100
+++ /var/tmp/diff_new_pack.scPgVL/_new  2020-01-13 22:17:45.570413452 +0100
@@ -1,5 +1,5 @@
 name: kubernetes
-version: 1.16.3
-mtime: 1573425816
-commit: b3cbbae08ec52a7fc73d334838e18d17e8512749
+version: 1.17.0
+mtime: 1575595503
+commit: 70132b0f130acc0bed193d9ba59dd186f0e634cf
 


Reply via email to