From 4108e608c0f607056d46ecbb50ee4c4fff1fe035 Mon Sep 17 00:00:00 2001
From: dirkmueller <>
Date: Dec 23 2020 13:19:55 +0000
Subject: Update python-kubernetes to version 12.0.1 / rev 14 via SR 857126


https://build.opensuse.org/request/show/857126
by user dirkmueller + dimstar_suse
- update to 12.0.1:
 * Kubernetes API version 1.16.15
  - Resolve regression in metadata.managedFields handling in update/patch requests submitted by older API clients ([#91748](https://github.com/kubernetes/k
  ubernetes/pull/91748), [@apelisse](https://github.com/apelisse)) [SIG API Machinery and Testing]
  - Fix bug where sending a status update completely wipes managedFields for some types. ([#90033](https://github.com/kubernetes/kubernetes/pull/90033), [@
  apelisse](https://github.com/apelisse)) [SIG API Machinery and Testing]
  - The `MutatingWebhookConfiguration` and `ValidatingWebhookConfiguration` APIs have been promoted to `admissionregistration.k8s.io/v1`:
    - `failurePolicy` default changed from `Ignore` to `Fail` for v1
    - `matchPolicy` default changed from `Exact` to `Eq

---

diff --git a/.files b/.files
index f2e597b..bb17777 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index 3f91eeb..f89624a 100644
--- a/.rev
+++ b/.rev
@@ -127,4 +127,41 @@
     <comment></comment>
     <requestid>794512</requestid>
   </revision>
+  <revision rev="14" vrev="1">
+    <srcmd5>7a1010e11b4a64f3e17fb9edfbb9eb37</srcmd5>
+    <version>12.0.1</version>
+    <time>1608729563</time>
+    <user>dimstar_suse</user>
+    <comment>- update to 12.0.1:
+ * Kubernetes API version 1.16.15
+  - Resolve regression in metadata.managedFields handling in update/patch requests submitted by older API clients ([#91748](https://github.com/kubernetes/k
+  ubernetes/pull/91748), [@apelisse](https://github.com/apelisse)) [SIG API Machinery and Testing]
+  - Fix bug where sending a status update completely wipes managedFields for some types. ([#90033](https://github.com/kubernetes/kubernetes/pull/90033), [@
+  apelisse](https://github.com/apelisse)) [SIG API Machinery and Testing]
+  - The `MutatingWebhookConfiguration` and `ValidatingWebhookConfiguration` APIs have been promoted to `admissionregistration.k8s.io/v1`:
+    - `failurePolicy` default changed from `Ignore` to `Fail` for v1
+    - `matchPolicy` default changed from `Exact` to `Equivalent` for v1
+    - `timeout` default changed from `30s` to `10s` for v1
+    - `sideEffects` default value is removed, and the field made required, and only `None` and `NoneOnDryRun` are permitted for v1
+    - `admissionReviewVersions` default value is removed and the field made required for v1 (supported versions for AdmissionReview are `v1` and `v1beta1`)
+    - The `name` field for specified webhooks must be unique for `MutatingWebhookConfiguration` and `ValidatingWebhookConfiguration` objects created via `a
+  dmissionregistration.k8s.io/v1`
+  - The `AdmissionReview` API sent to and received from admission webhooks has been promoted to `admission.k8s.io/v1`. Webhooks can specify a preference fo
+  r receiving `v1` AdmissionReview objects with `admissionReviewVersions: [&quot;v1&quot;,&quot;v1beta1&quot;]`, and must respond with an API object in the same `apiVersion` t
+  hey are sent. When webhooks use `admission.k8s.io/v1`, the following additional validation is performed on their responses:
+    - `response.patch` and `response.patchType` are not permitted from validating admission webhooks
+    - `apiVersion: &quot;admission.k8s.io/v1&quot;` is required
+    - `kind: &quot;AdmissionReview&quot;` is required
+    - `response.uid: &quot;&lt;value of request.uid&gt;&quot;` is required
+    - `response.patchType: &quot;JSONPatch&quot;` is required (if `response.patch` is set) ([#80231](https://github.com/kubernetes/kubernetes/pull/80231), [@liggitt]
+  (https://github.com/liggitt))
+  - The `CustomResourceDefinition` API type is promoted to `apiextensions.k8s.io/v1` with the following changes:
+    - Use of the new `default` feature in validation schemas is limited to v1
+    - `spec.scope` is no longer defaulted to `Namespaced` and must be explicitly specified
+    - `spec.version` is removed in v1; use `spec.versions` instead
+    - `spec.validation` is removed in v1; use `spec.versions[*].schema` instead
+    - `spec.subresources` is removed in v1; use `spec.versions[*].subresources` instead
+    - `spec.additionalPrinterColumns` is removed in v1; use `spec.versions[*].additionalPrinterColumns` instead</comment>
+    <requestid>857126</requestid>
+  </revision>
 </revisionlist>
diff --git a/kubernetes-11.0.0.tar.gz b/kubernetes-11.0.0.tar.gz
deleted file mode 120000
index 4ab641a..0000000
--- a/kubernetes-11.0.0.tar.gz
+++ /dev/null
@@ -1 +0,0 @@
-/ipfs/bafybeib6nh7q2qbfqegc2euycvrx63ebhdsftmcxo52wabwu44hsea4cle
\ No newline at end of file
diff --git a/kubernetes-12.0.1.tar.gz b/kubernetes-12.0.1.tar.gz
new file mode 120000
index 0000000..e3ed39f
--- /dev/null
+++ b/kubernetes-12.0.1.tar.gz
@@ -0,0 +1 @@
+/ipfs/bafybeidofj5hsr4uvo6ogyocbsjirdalhkprdvonmtjgt5zwt22qdj45rq
\ No newline at end of file
diff --git a/python-kubernetes.changes b/python-kubernetes.changes
index 740e8cb..75fe505 100644
--- a/python-kubernetes.changes
+++ b/python-kubernetes.changes
@@ -1,4 +1,51 @@
 -------------------------------------------------------------------
+Sun Dec 20 10:06:34 UTC 2020 - Dirk Müller <dmueller@suse.com>
+
+- update to 12.0.1:
+ * Kubernetes API version 1.16.15
+  - Resolve regression in metadata.managedFields handling in update/patch requests submitted by older API clients ([#91748](https://github.com/kubernetes/k
+  ubernetes/pull/91748), [@apelisse](https://github.com/apelisse)) [SIG API Machinery and Testing]
+  - Fix bug where sending a status update completely wipes managedFields for some types. ([#90033](https://github.com/kubernetes/kubernetes/pull/90033), [@
+  apelisse](https://github.com/apelisse)) [SIG API Machinery and Testing]
+  - The `MutatingWebhookConfiguration` and `ValidatingWebhookConfiguration` APIs have been promoted to `admissionregistration.k8s.io/v1`:
+    - `failurePolicy` default changed from `Ignore` to `Fail` for v1
+    - `matchPolicy` default changed from `Exact` to `Equivalent` for v1
+    - `timeout` default changed from `30s` to `10s` for v1
+    - `sideEffects` default value is removed, and the field made required, and only `None` and `NoneOnDryRun` are permitted for v1
+    - `admissionReviewVersions` default value is removed and the field made required for v1 (supported versions for AdmissionReview are `v1` and `v1beta1`)
+    - The `name` field for specified webhooks must be unique for `MutatingWebhookConfiguration` and `ValidatingWebhookConfiguration` objects created via `a
+  dmissionregistration.k8s.io/v1`
+  - The `AdmissionReview` API sent to and received from admission webhooks has been promoted to `admission.k8s.io/v1`. Webhooks can specify a preference fo
+  r receiving `v1` AdmissionReview objects with `admissionReviewVersions: ["v1","v1beta1"]`, and must respond with an API object in the same `apiVersion` t
+  hey are sent. When webhooks use `admission.k8s.io/v1`, the following additional validation is performed on their responses:
+    - `response.patch` and `response.patchType` are not permitted from validating admission webhooks
+    - `apiVersion: "admission.k8s.io/v1"` is required
+    - `kind: "AdmissionReview"` is required
+    - `response.uid: "<value of request.uid>"` is required
+    - `response.patchType: "JSONPatch"` is required (if `response.patch` is set) ([#80231](https://github.com/kubernetes/kubernetes/pull/80231), [@liggitt]
+  (https://github.com/liggitt))
+  - The `CustomResourceDefinition` API type is promoted to `apiextensions.k8s.io/v1` with the following changes:
+    - Use of the new `default` feature in validation schemas is limited to v1
+    - `spec.scope` is no longer defaulted to `Namespaced` and must be explicitly specified
+    - `spec.version` is removed in v1; use `spec.versions` instead
+    - `spec.validation` is removed in v1; use `spec.versions[*].schema` instead
+    - `spec.subresources` is removed in v1; use `spec.versions[*].subresources` instead
+    - `spec.additionalPrinterColumns` is removed in v1; use `spec.versions[*].additionalPrinterColumns` instead
+    - `spec.conversion.webhookClientConfig` is moved to `spec.conversion.webhook.clientConfig` in v1
+    - `spec.conversion.conversionReviewVersions` is moved to `spec.conversion.webhook.conversionReviewVersions` in v1
+    - `spec.versions[*].schema.openAPIV3Schema` is now required when creating v1 CustomResourceDefinitions
+    - `spec.preserveUnknownFields: true` is disallowed when creating v1 CustomResourceDefinitions; it must be specified within schema definitions as `x-kubernetes-preserve-unknown-fields: true`
+    - In `additionalPrinterColumns` items, the `JSONPath` field was renamed to `jsonPath` in v1 (fixes https://github.com/kubernetes/kubernetes/issues/66531)
+      The `apiextensions.k8s.io/v1beta1` version of `CustomResourceDefinition` is deprecated and will no longer be served in v1.19. ([#79604](https://github.com/kubernetes/kubernetes/pull/79604), [@liggitt](https://github.com/liggitt))
+  - The `ConversionReview` API sent to and received from custom resource CustomResourceDefinition conversion webhooks has been promoted to `apiextensions.k8s.io/v1`. CustomResourceDefinition conversion webhooks can now indicate they support receiving and responding with `ConversionReview` API objects in the `apiextensions.k8s.io/v1` version by including `v1` in the `conversionReviewVersions` list in their CustomResourceDefinition. Conversion webhooks must respond with a ConversionReview object in the same apiVersion they receive. `apiextensions.k8s.io/v1` `ConversionReview` responses must specify a `response.uid` that matches the `request.uid` of the object they were sent. ([#81476](https://github.com/kubernetes/kubernetes/pull/81476), [@liggitt](https://github.com/liggitt))
+  - Add scheduling support for RuntimeClasses. RuntimeClasses can now specify nodeSelector constraints & tolerations, which are merged into the PodSpec for pods using that RuntimeClass. ([#80825](https://github.com/kubernetes/kubernetes/pull/80825), [@tallclair](https://github.com/tallclair))
+  - Kubelet should now more reliably report the same primary node IP even if the set of node IPs reported by the CloudProvider changes. ([#79391](https://github.com/kubernetes/kubernetes/pull/79391), [@danwinship](https://github.com/danwinship))
+  - Omit nil or empty field when calculating container hash value to avoid hash changed. For a new field with a non-nil default value in the container spec, the hash would still get changed. ([#57741](https://github.com/kubernetes/kubernetes/pull/57741), [@dixudx](https://github.com/dixudx))
+  - Property `conditions` in `apiextensions.v1beta1.CustomResourceDefinitionStatus` and `apiextensions.v1.CustomResourceDefinitionStatus` is now optional instead of required. ([#64996](https://github.com/kubernetes/kubernetes/pull/64996), [@roycaihw](https://github.com/roycaihw))
+  - When the status of a CustomResourceDefinition condition changes, its corresponding `lastTransitionTime` is now updated. ([#69655](https://github.com/kubernetes/kubernetes/pull/69655), [@CaoShuFeng](https://github.com/CaoShuFeng))
+- many more changes, see included changelog
+
+-------------------------------------------------------------------
 Thu Apr 16 07:18:05 UTC 2020 - pgajdos@suse.com
 
 - version update to 11.0.0
diff --git a/python-kubernetes.spec b/python-kubernetes.spec
index fa1ad34..d171e38 100644
--- a/python-kubernetes.spec
+++ b/python-kubernetes.spec
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %bcond_without python2
 Name:           python-kubernetes
-Version:        11.0.0
+Version:        12.0.1
 Release:        0
 Summary:        Kubernetes python client
 License:        Apache-2.0