Merge pull request #1552 from roycaihw/v19a1

Generate v19.15.0a1 client
This commit is contained in:
Kubernetes Prow Robot 2021-09-20 10:04:10 -07:00 committed by GitHub
commit 7753096586
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 11 additions and 9 deletions

View File

@ -1,6 +1,6 @@
# v19.0.0-snapshot
# v19.15.0a1
Kubernetes API Version: v1.19.14
Kubernetes API Version: v1.19.15
### Bug Fix
- Type checking in `Client.serialize_body()` was made more restrictive and robust. ([kubernetes-client/python-base#241](https://github.com/kubernetes-client/python-base/pull/241), [@piglei](https://github.com/piglei))

View File

@ -88,6 +88,7 @@ supported versions of Kubernetes clusters.
- [client 12.y.z](https://pypi.org/project/kubernetes/12.0.1/): Kubernetes 1.15 or below (+-), Kubernetes 1.16 (✓), Kubernetes 1.17 or above (+-)
- [client 17.y.z](https://pypi.org/project/kubernetes/17.17.0/): Kubernetes 1.16 or below (+-), Kubernetes 1.17 (✓), Kubernetes 1.18 or above (+-)
- [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.0a1/): Kubernetes 1.18 or below (+-), Kubernetes 1.19 (✓), Kubernetes 1.20 or above (+-)
> See [here](#homogenizing-the-kubernetes-python-client-versions) for an explaination of why there is no v13-v16 release.
@ -128,6 +129,7 @@ between client-python versions.
| 17.0 | Kubernetes main repo, 1.17 branch | ✓ |
| 18.0 Alpha/Beta | Kubernetes main repo, 1.18 branch | ✗ |
| 18.0 | Kubernetes main repo, 1.18 branch | ✓ |
| 19.0 Alpha/Beta | Kubernetes main repo, 1.19 branch | ✓ |
> See [here](#homogenizing-the-kubernetes-python-client-versions) for an explaination of why there is no v13-v16 release.

View File

@ -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.19
- Package version: 19.0.0-snapshot
- Package version: 19.15.0a1
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
## Requirements.

View File

@ -14,7 +14,7 @@
__project__ = 'kubernetes'
# The version is auto-updated. Please do not edit.
__version__ = "19.0.0-snapshot"
__version__ = "19.15.0a1"
import kubernetes.client
import kubernetes.config

View File

@ -14,7 +14,7 @@
from __future__ import absolute_import
__version__ = "19.0.0-snapshot"
__version__ = "19.15.0a1"
# import apis into sdk package
from kubernetes.client.api.admissionregistration_api import AdmissionregistrationApi

View File

@ -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/19.0.0-snapshot/python'
self.user_agent = 'OpenAPI-Generator/19.15.0a1/python'
self.client_side_validation = configuration.client_side_validation
def __enter__(self):

View File

@ -347,7 +347,7 @@ class Configuration(object):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: release-1.19\n"\
"SDK Package Version: 19.0.0-snapshot".\
"SDK Package Version: 19.15.0a1".\
format(env=sys.platform, pyversion=sys.version)
def get_host_settings(self):

View File

@ -18,7 +18,7 @@ import sys
KUBERNETES_BRANCH = "release-1.19"
# client version for packaging and releasing.
CLIENT_VERSION = "19.0.0-snapshot"
CLIENT_VERSION = "19.15.0a1"
# Name of the release package
PACKAGE_NAME = "kubernetes"

View File

@ -16,7 +16,7 @@ from setuptools import setup
# Do not edit these constants. They will be updated automatically
# by scripts/update-client.sh.
CLIENT_VERSION = "19.0.0-snapshot"
CLIENT_VERSION = "19.15.0a1"
PACKAGE_NAME = "kubernetes"
DEVELOPMENT_STATUS = "3 - Alpha"