Merge pull request #1653 from yliaog/automated-release-of-21.7.0-upstream-release-21.0-1639590783
Automated release of 21.7.0 upstream release 21.0 1639590783
This commit is contained in:
commit
65674148e7
@ -1,3 +1,12 @@
|
||||
# v21.7.0
|
||||
|
||||
Kubernetes API Version: v1.21.7
|
||||
|
||||
|
||||
### Bug or Regression
|
||||
- Fixed kubernetes-client/python#741, an issue which prevented Kubernetes cluster api-tokens from exec-plugin auth providers from being refreshed after expiry. (#250, @emenendez)
|
||||
- Use select.poll() for exec on linux/darwin to improve scalability of WSClient (#268, @jsun-splunk)
|
||||
|
||||
# v21.7.0b1
|
||||
|
||||
Kubernetes API Version: v1.21.7
|
||||
|
||||
@ -90,7 +90,7 @@ supported versions of Kubernetes clusters.
|
||||
- [client 18.y.z](https://pypi.org/project/kubernetes/18.20.0/): Kubernetes 1.17 or below (+-), Kubernetes 1.18 (✓), Kubernetes 1.19 or above (+-)
|
||||
- [client 19.y.z](https://pypi.org/project/kubernetes/19.15.0/): Kubernetes 1.18 or below (+-), Kubernetes 1.19 (✓), Kubernetes 1.20 or above (+-)
|
||||
- [client 20.y.z](https://pypi.org/project/kubernetes/20.13.0/): Kubernetes 1.19 or below (+-), Kubernetes 1.20 (✓), Kubernetes 1.21 or above (+-)
|
||||
- [client 21.y.z](https://pypi.org/project/kubernetes/21.7.0b1/): Kubernetes 1.20 or below (+-), Kubernetes 1.21 (✓), Kubernetes 1.22 or above (+-)
|
||||
- [client 21.y.z](https://pypi.org/project/kubernetes/21.7.0/): Kubernetes 1.20 or below (+-), Kubernetes 1.21 (✓), Kubernetes 1.22 or above (+-)
|
||||
|
||||
> See [here](#homogenizing-the-kubernetes-python-client-versions) for an explaination of why there is no v13-v16 release.
|
||||
|
||||
@ -135,7 +135,8 @@ between client-python versions.
|
||||
| 19.0 | Kubernetes main repo, 1.19 branch | ✓ |
|
||||
| 20.0 Alpha/Beta | Kubernetes main repo, 1.20 branch | ✗ |
|
||||
| 20.0 | Kubernetes main repo, 1.20 branch | ✓ |
|
||||
| 21.0 Alpha/Beta | Kubernetes main repo, 1.21 branch | ✓ |
|
||||
| 21.0 Alpha/Beta | Kubernetes main repo, 1.21 branch | ✗ |
|
||||
| 21.0 | Kubernetes main repo, 1.21 branch | ✓ |
|
||||
|
||||
> See [here](#homogenizing-the-kubernetes-python-client-versions) for an explaination of why there is no v13-v16 release.
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
|
||||
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
||||
|
||||
- API version: release-1.21
|
||||
- Package version: 21.7.0b1
|
||||
- Package version: 21.7.0
|
||||
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
||||
|
||||
## Requirements.
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
|
||||
__project__ = 'kubernetes'
|
||||
# The version is auto-updated. Please do not edit.
|
||||
__version__ = "21.7.0b1"
|
||||
__version__ = "21.7.0"
|
||||
|
||||
import kubernetes.client
|
||||
import kubernetes.config
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
|
||||
from __future__ import absolute_import
|
||||
|
||||
__version__ = "21.7.0b1"
|
||||
__version__ = "21.7.0"
|
||||
|
||||
# import apis into sdk package
|
||||
from kubernetes.client.api.well_known_api import WellKnownApi
|
||||
|
||||
@ -78,7 +78,7 @@ class ApiClient(object):
|
||||
self.default_headers[header_name] = header_value
|
||||
self.cookie = cookie
|
||||
# Set default User-Agent.
|
||||
self.user_agent = 'OpenAPI-Generator/21.7.0b1/python'
|
||||
self.user_agent = 'OpenAPI-Generator/21.7.0/python'
|
||||
self.client_side_validation = configuration.client_side_validation
|
||||
|
||||
def __enter__(self):
|
||||
|
||||
@ -350,7 +350,7 @@ class Configuration(object):
|
||||
"OS: {env}\n"\
|
||||
"Python Version: {pyversion}\n"\
|
||||
"Version of the API: release-1.21\n"\
|
||||
"SDK Package Version: 21.7.0b1".\
|
||||
"SDK Package Version: 21.7.0".\
|
||||
format(env=sys.platform, pyversion=sys.version)
|
||||
|
||||
def get_host_settings(self):
|
||||
|
||||
@ -221,6 +221,7 @@ class TestClient(unittest.TestCase):
|
||||
self.assertIsNone(client.returncode)
|
||||
client.run_forever(timeout=10)
|
||||
self.assertEqual(client.returncode, value)
|
||||
self.assertEqual(client.returncode, value) # check idempotence
|
||||
|
||||
resp = api.delete_namespaced_pod(name=name, body={},
|
||||
namespace='default')
|
||||
|
||||
@ -18,13 +18,13 @@ import sys
|
||||
KUBERNETES_BRANCH = "release-1.21"
|
||||
|
||||
# client version for packaging and releasing.
|
||||
CLIENT_VERSION = "21.7.0b1"
|
||||
CLIENT_VERSION = "21.7.0"
|
||||
|
||||
# Name of the release package
|
||||
PACKAGE_NAME = "kubernetes"
|
||||
|
||||
# Stage of development, mainly used in setup.py's classifiers.
|
||||
DEVELOPMENT_STATUS = "4 - Beta"
|
||||
DEVELOPMENT_STATUS = "5 - Production/Stable"
|
||||
|
||||
|
||||
# If called directly, return the constant value given
|
||||
|
||||
4
setup.py
4
setup.py
@ -16,9 +16,9 @@ from setuptools import setup
|
||||
|
||||
# Do not edit these constants. They will be updated automatically
|
||||
# by scripts/update-client.sh.
|
||||
CLIENT_VERSION = "21.7.0b1"
|
||||
CLIENT_VERSION = "21.7.0"
|
||||
PACKAGE_NAME = "kubernetes"
|
||||
DEVELOPMENT_STATUS = "4 - Beta"
|
||||
DEVELOPMENT_STATUS = "5 - Production/Stable"
|
||||
|
||||
# To install the library, run the following
|
||||
#
|
||||
|
||||
Loading…
Reference in New Issue
Block a user