diff --git a/CHANGELOG.md b/CHANGELOG.md index 514d6fa38..2e357050d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,19 @@ - API requests won't have `Content-Type` specified in HTTP headers - The `swagger_types` attribute in all models is renamed to `openapi_types` +**API Change:** +- Introduce `ExtensionsV1beta1RuntimeClassStrategyOptions` and `PolicyV1beta1RuntimeClassStrategyOptions`. Add RuntimeClass restrictions & defaulting to PodSecurityPolicy [kubernetes/kubernetes#73795](https://github.com/kubernetes/kubernetes/pull/73795) +- Introduce `V1WindowsSecurityContextOptions`. Add Windows specific options in Pod Security Context and Container Security Context [kubernetes/kubernetes#77147](https://github.com/kubernetes/kubernetes/pull/77147) +- Split `V1beta1Webhook` into `V1beta1MutatingWebhook` and `V1beta1ValidatingWebhook` [kubernetes/kubernetes#78491](https://github.com/kubernetes/kubernetes/pull/78491) +- Introduce parameter `allow_watch_bookmarks` in list options for requesting watch bookmarks from apiserver. The implementation in apiserver is hidden behind feature gate `WatchBookmark` (currently in Alpha stage) [kubernetes/kubernetes#74074](https://github.com/kubernetes/kubernetes/pull/74074) +- Add `V1DeleteOptions` parameters (`dry_run`, `grace_period_seconds`, `orphan_dependents`, `propagation_policy`) to delete collection APIs [kubernetes/kubernetes#77843](https://github.com/kubernetes/kubernetes/pull/77843) +- Add ListMeta.RemainingItemCount. When responding a LIST request, if the server has more data available, and if the request does not contain label selectors or field selectors, the server sets the ListOptions.RemainingItemCount to the number of remaining objects [kubernetes/kubernetes#75993](https://github.com/kubernetes/kubernetes/pull/75993) +- Add `controller_expand_secret_ref` in `V1SecretReference` to store CSI volume expansion secrets [kubernetes/kubernetes#77516](https://github.com/kubernetes/kubernetes/pull/77516) +- Introduce `preemption_policy` field to V1PriorityClass [kubernetes/kubernetes#74614](https://github.com/kubernetes/kubernetes/pull/74614) +- Add `port` configuration to service reference in Admission webhook configuration, AuditSink webhook configuration, CRD Conversion webhook configuration and kube-aggregator [kubernetes/kubernetes#74855](https://github.com/kubernetes/kubernetes/pull/74855) +- Introduce `inline_volume_spec` to `V1PersistentVolumeSpec` [kubernetes/kubernetes#77703](https://github.com/kubernetes/kubernetes/pull/77703) +- Add fields `x_kubernetes_embedded_resource`, `x_kubernetes_int_or_string`, `x_kubernetes_preserve_unknown_fields` to V1beta1JSONSchemaProps [kubernetes/kubernetes#77207](https://github.com/kubernetes/kubernetes/pull/77207) + # v10.0.0 **Bug Fix:** - Fix base64 padding for kube config [kubernetes-client/python-base#79](https://github.com/kubernetes-client/python-base/pull/79) diff --git a/README.md b/README.md index 732941f09..1aaed8a36 100644 --- a/README.md +++ b/README.md @@ -82,19 +82,20 @@ supported versions of Kubernetes clusters. #### Compatibility matrix -| | Kubernetes 1.5 | Kubernetes 1.6 | Kubernetes 1.7 | Kubernetes 1.8 | Kubernetes 1.9 | Kubernetes 1.10 | Kubernetes 1.11 | Kubernetes 1.12 | Kubernetes 1.13 | Kubernetes 1.14 | -|--------------------|----------------|----------------|----------------|----------------|----------------|-----------------|-----------------|-----------------|-----------------|-----------------| -| client-python 1.0 | ✓ | - | - |- |- |- |- |- |- |- | -| client-python 2.0 | + | ✓ | - |- |- |- |- |- |- |- | -| client-python 3.0 | + | + | ✓ |- |- |- |- |- |- |- | -| client-python 4.0 | + | + | + |✓ |- |- |- |- |- |- | -| client-python 5.0 | + | + | + |+ |✓ |- |- |- |- |- | -| client-python 6.0 | + | + | + |+ |+ |✓ |- |- |- |- | -| client-python 7.0 | + | + | + |+ |+ |+ |✓ |- |- |- | -| client-python 8.0 | + | + | + |+ |+ |+ |+ |✓ |- |- | -| client-python 9.0 | + | + | + |+ |+ |+ |+ |+ |✓ |- | -| client-python 10.0 | + | + | + |+ |+ |+ |+ |+ |+ |✓ | -| client-python HEAD | + | + | + |+ |+ |+ |+ |+ |+ |✓ | +| | Kubernetes 1.5 | Kubernetes 1.6 | Kubernetes 1.7 | Kubernetes 1.8 | Kubernetes 1.9 | Kubernetes 1.10 | Kubernetes 1.11 | Kubernetes 1.12 | Kubernetes 1.13 | Kubernetes 1.14 | Kubernetes 1.15 | +|--------------------|----------------|----------------|----------------|----------------|----------------|-----------------|-----------------|-----------------|-----------------|-----------------|-----------------| +| client-python 1.0 | ✓ | - | - |- |- |- |- |- |- |- |- | +| client-python 2.0 | + | ✓ | - |- |- |- |- |- |- |- |- | +| client-python 3.0 | + | + | ✓ |- |- |- |- |- |- |- |- | +| client-python 4.0 | + | + | + |✓ |- |- |- |- |- |- |- | +| client-python 5.0 | + | + | + |+ |✓ |- |- |- |- |- |- | +| client-python 6.0 | + | + | + |+ |+ |✓ |- |- |- |- |- | +| client-python 7.0 | + | + | + |+ |+ |+ |✓ |- |- |- |- | +| client-python 8.0 | + | + | + |+ |+ |+ |+ |✓ |- |- |- | +| client-python 9.0 | + | + | + |+ |+ |+ |+ |+ |✓ |- |- | +| client-python 10.0 | + | + | + |+ |+ |+ |+ |+ |+ |✓ |- | +| client-python 11.0 | + | + | + |+ |+ |+ |+ |+ |+ |+ |✓ | +| client-python HEAD | + | + | + |+ |+ |+ |+ |+ |+ |+ |✓ | Key: @@ -130,6 +131,7 @@ between client-python versions. | 9.0 | Kubernetes main repo, 1.13 branch | ✓ | | 10.0 Alpha/Beta | Kubernetes main repo, 1.14 branch | ✗ | | 10.0 | Kubernetes main repo, 1.14 branch | ✓ | +| 11.0 Alpha/Beta | Kubernetes main repo, 1.15 branch | ✓ | Key: diff --git a/kubernetes/README.md b/kubernetes/README.md index e679076d9..03cab0e7a 100644 --- a/kubernetes/README.md +++ b/kubernetes/README.md @@ -17,9 +17,9 @@ Python 2.7 and 3.4+ If the python package is hosted on Github, you can install directly from Github ```sh -pip install git+https://github.com/kubernetes-kubernetes.client/python.git +pip install git+https://github.com/kubernetes-client/python.git ``` -(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/kubernetes-kubernetes.client/python.git`) +(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/kubernetes-client/python.git`) Then import the package: ```python