Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 047f0dc

Browse files
authored
Merge pull request kubernetes-client#1317 from palnabarun/release-17.0
Release v17.14.a1
2 parents 6d64cf6 + 524dbf9 commit 047f0dc

File tree

863 files changed

+22661
-4084
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

863 files changed

+22661
-4084
lines changed

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
with:
1616
submodules: true
1717
- name: Set up Python ${{ matrix.python-version }}
18-
uses: actions/[email protected].3
18+
uses: actions/[email protected].4
1919
with:
2020
python-version: ${{ matrix.python-version }}
2121
- name: Install dependencies

CHANGELOG.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,47 @@
1+
# v17.14.0a1
2+
3+
Kubernetes API Version: 1.17.14
4+
5+
**Important Information:**
6+
7+
- The Kubernetes Python client versioning scheme has changed. The version numbers used till Kubernetes Python Client v12.y.z lagged behind the actual Kubernetes minor version numbers. From this release, the client is moving a version format `vY.Z.P` where `Y` and `Z` are respectively from the Kubernetes version `v1.Y.Z` and `P` would incremented due to changes on the Python client side itself. Ref: https://github.com/kubernetes-client/python/issues/1244
8+
- Python 2 had reached [End of Life](https://www.python.org/doc/sunset-python-2/) on January 1, 2020. The Kubernetes Python Client will drop support for Python 2 from the next release (v18.0.0) and will no longer provide support to older clients as per the [Kubernetes support policy](https://kubernetes.io/docs/setup/release/version-skew-policy/#supported-versions).
9+
10+
11+
**API Change:**
12+
- Fixed: log timestamps now include trailing zeros to maintain a fixed width ([#91207](https://github.com/kubernetes/kubernetes/pull/91207), [@iamchuckss](https://github.com/iamchuckss)) [SIG Apps and Node]
13+
- Resolve regression in metadata.managedFields handling in update/patch requests submitted by older API clients ([#92008](https://github.com/kubernetes/kubernetes/pull/92008), [@apelisse](https://github.com/apelisse)) [SIG API Machinery and Testing]
14+
- Fix bug where sending a status update completely wipes managedFields for some types. ([#90032](https://github.com/kubernetes/kubernetes/pull/90032), [@apelisse](https://github.com/apelisse)) [SIG API Machinery and Testing]
15+
- Fixes a regression with clients prior to 1.15 not being able to update podIP in pod status, or podCIDR in node spec, against >= 1.16 API servers ([#88505](https://github.com/kubernetes/kubernetes/pull/88505), [@liggitt](https://github.com/liggitt)) [SIG Apps and Network]
16+
- CustomResourceDefinitions now validate documented API semantics of `x-kubernetes-list-type` and `x-kubernetes-map-type` atomic to reject non-atomic sub-types. ([#84722](https://github.com/kubernetes/kubernetes/pull/84722), [@sttts](https://github.com/sttts))
17+
- Kube-apiserver: The `AdmissionConfiguration` type accepted by `--admission-control-config-file` has been promoted to `apiserver.config.k8s.io/v1` with no schema changes. ([#85098](https://github.com/kubernetes/kubernetes/pull/85098), [@liggitt](https://github.com/liggitt))
18+
- Fixed EndpointSlice port name validation to match Endpoint port name validation (allowing port names longer than 15 characters) ([#84481](https://github.com/kubernetes/kubernetes/pull/84481), [@robscott](https://github.com/robscott))
19+
- CustomResourceDefinitions introduce `x-kubernetes-map-type` annotation as a CRD API extension. Enables this particular validation for server-side apply. ([#84113](https://github.com/kubernetes/kubernetes/pull/84113), [@enxebre](https://github.com/enxebre))
20+
21+
To read the full CHANGELOG visit [here](https://raw.githubusercontent.com/kubernetes/kubernetes/master/CHANGELOG/CHANGELOG-1.17.md).
22+
23+
# v12.0.1
24+
25+
Kubernetes API Version: 1.16.15
26+
27+
**Breaking Change:**
28+
29+
- `kubernetes.config.Configuration()` will now return the default "initial" configuration, `kubernetes.config.Configuration.get_default_copy()` will return the default configuration if there is a default set via `Configuration.set_default(c)`, otherwise, it will also return the default "initial" configuration. [OpenAPITools/openapi-generator#4485](https://github.com/OpenAPITools/openapi-generator/pull/4485), [OpenAPITools/openapi-generator#5315](https://github.com/OpenAPITools/openapi-generator/pull/5315). **Note: ** This change also affects v12.0.0a1, v12.0.0b1 and v12.0.0.
30+
31+
**Bug Fix:**
32+
- Prevent 503s from killing the client during discovery [kubernetes-client/python-base#187](https://github.com/kubernetes-client/python-base/pull/187)
33+
34+
35+
# v12.0.0
36+
37+
Kubernetes API Version: 1.16.15
38+
39+
**New Feature:**
40+
- Implement Port Forwarding [kubernetes-client/python-base#210](https://github.com/kubernetes-client/python-base/pull/210), [kubernetes-client/python-base#211](https://github.com/kubernetes-client/python-base/pull/211), [kubernetes-client/python#1237](https://github.com/kubernetes-client/python/pull/1237)
41+
- Support loading configuration from file-like objects [kubernetes-client/python-base#208](https://github.com/kubernetes-client/python-base/pull/208)
42+
- Returns the created k8s objects in `create_from_{dict,yaml}` [kubernetes-client/python#1262](https://github.com/kubernetes-client/python/pull/1262)
43+
44+
145
# v12.0.0b1
246

347
Kubernetes API Version: 1.16.14

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,14 @@ between client-python versions.
115115
| 8.0 Alpha/Beta | Kubernetes main repo, 1.12 branch ||
116116
| 8.0 | Kubernetes main repo, 1.12 branch ||
117117
| 9.0 Alpha/Beta | Kubernetes main repo, 1.13 branch ||
118-
| 9.0 | Kubernetes main repo, 1.13 branch | |
118+
| 9.0 | Kubernetes main repo, 1.13 branch | |
119119
| 10.0 Alpha/Beta | Kubernetes main repo, 1.14 branch ||
120120
| 10.0 | Kubernetes main repo, 1.14 branch ||
121121
| 11.0 Alpha/Beta | Kubernetes main repo, 1.15 branch ||
122122
| 11.0 | Kubernetes main repo, 1.15 branch ||
123+
| 12.0 Alpha/Beta | Kubernetes main repo, 1.16 branch ||
124+
| 12.0 | Kubernetes main repo, 1.16 branch ||
125+
| 17.0 Alpha/Beta | Kubernetes main repo, 1.17 branch ||
123126

124127
Key:
125128

@@ -174,4 +177,3 @@ This will cause a failure in non-exec/attach calls. If you reuse your api clien
174177
recreate it between api calls that use _stream_ and other api calls.
175178

176179
See more at [exec example](examples/pod_exec.py).
177-

devel/release.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ For more details, see [#974](https://github.com/kubernetes-client/python/issues/
8484

8585
4. Remove the tests directory (ref: https://github.com/kubernetes-client/python/commit/ec9c944f076999543cd2122aff2d86f969d82548). See the [upstream issue](https://github.com/OpenAPITools/openapi-generator/issues/5377) for more information.
8686

87+
5. Add tests for the default `Configuration` behavior (ref: https://github.com/kubernetes-client/python/pull/1303 and https://github.com/kubernetes-client/python/pull/1285). The commit [1ffa61d0650e4c93e0d7f0becd2c54797eafd407](https://github.com/kubernetes-client/python/pull/1285/commits/1ffa61d0650e4c93e0d7f0becd2c54797eafd407) should be cherry-picked.
88+
8789
Commit the manual changes like this [PR](https://github.com/kubernetes-client/python/pull/995/commits) does, then create your PR for review.
8890

8991
Alternatively, you can use the `scripts/apply-hotfixes.sh` script to apply
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
92a199ec5d6f1d4a6df0bbfe509b5bbd504bba8a817a2e6a4c60e8ba2a0049e8
1+
04859ba873ac89c62207ee4a60256edc321314c7d8521c5fd7fba41a1290d637

0 commit comments

Comments
 (0)