Skip to content

Commit 96a8693

Browse files
committed
Generate updated client
Signed-off-by: Nabarun Pal <[email protected]>
1 parent d7e0398 commit 96a8693

File tree

725 files changed

+124585
-51
lines changed

Some content is hidden

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

725 files changed

+124585
-51
lines changed

.github/workflows/release.yaml

Whitespace-only changes.

changes.txt

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
6d64cf67 Merge pull request #1265 from kubernetes-client/dependabot/github_actions/actions/setup-python-v2.1.3
2+
d31652a3 Bump actions/setup-python from v2.1.2 to v2.1.3
3+
945aac9f Merge pull request #1260 from kubernetes-client/dependabot/github_actions/actions/setup-python-v2.1.2
4+
d1ccbf22 Merge pull request #1262 from sighingnow/ht/return-created
5+
bbdfb73c Fixes for code format.
6+
9e534d02 Returns the created k8s objects in create_from_{dict,yaml}.
7+
f41b95b0 Merge pull request #1229 from scottilee/releasedocs
8+
f72d2a50 Bump actions/setup-python from v1 to v2.1.2
9+
f2b03567 Merge pull request #1259 from brendandburns/dependa
10+
a8243646 Add dependabot.
11+
b1cea7ef Address comments about hot issues
12+
1be69369 Merge branch 'master' of https://github.com/kubernetes-client/python into releasedocs
13+
457ac54a Merge pull request #1254 from palnabarun/cherry-pick-12.0.0b1-notes
14+
de822a28 Update the CHANGELOG and README
15+
0a78dc1e Merge pull request #1253 from ryphon/file-like-base-update
16+
a2ede702 touching readme with newline to check test validity
17+
8e1c331c updating base for file-like config load support
18+
42db3552 Merge pull request #1252 from unki/master
19+
32cb3f91 remove duplicate-lines from kubernetes/README.md
20+
4079c67c Merge pull request #1237 from iciclespider/port-forwarding
21+
b1dd9c4f Install socat on Kubernetes node for use by port forwarding.
22+
3da49a20 Update kubernetes/base to latest master with portforwarding implementation.
23+
c1249c9c Support both python 2.7 and 3.x.
24+
d9ec734a Fix tox errors.
25+
8afcebdf Add test that checks for portforward port error return value.
26+
49f3b6e0 Rework port forwarding unittest and example.
27+
fada718e Unittests and example for portforwarding ability added in python-base.
28+
482b8558 Update release README
29+
a1db8670 Remove redundant release doc
30+
b5603d8e Merge pull request #1220 from greed42/plugin-certificates

kubernetes/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
44
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
55

66
- API version: release-1.16
7-
- Package version: 12.0.0b1
7+
- Package version: 12.0.0
88
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
99

1010
## Requirements.
@@ -60,6 +60,8 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY'
6060
# Defining host is optional and default to http://localhost
6161
configuration.host = "http://localhost"
6262

63+
# Defining host is optional and default to http://localhost
64+
configuration.host = "http://localhost"
6365
# Enter a context with an instance of the API kubernetes.client
6466
with kubernetes.client.ApiClient(configuration) as api_client:
6567
# Create an instance of the API class

kubernetes/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
__project__ = 'kubernetes'
1616
# The version is auto-updated. Please do not edit.
17-
__version__ = "12.0.0b1"
17+
__version__ = "12.0.0"
1818

1919
import kubernetes.client
2020
import kubernetes.config

kubernetes/client/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
from __future__ import absolute_import
1616

17-
__version__ = "12.0.0b1"
17+
__version__ = "12.0.0"
1818

1919
# import apis into sdk package
2020
from kubernetes.client.api.admissionregistration_api import AdmissionregistrationApi

kubernetes/client/api/custom_objects_api.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2405,7 +2405,7 @@ def patch_cluster_custom_object_with_http_info(self, group, version, plural, nam
24052405

24062406
# HTTP header `Content-Type`
24072407
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
2408-
['application/merge-patch+json']) # noqa: E501
2408+
['application/json-patch+json', 'application/merge-patch+json']) # noqa: E501
24092409

24102410
# Authentication setting
24112411
auth_settings = ['BearerToken'] # noqa: E501
@@ -2574,7 +2574,7 @@ def patch_cluster_custom_object_scale_with_http_info(self, group, version, plura
25742574

25752575
# HTTP header `Content-Type`
25762576
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
2577-
['application/merge-patch+json']) # noqa: E501
2577+
['application/json-patch+json', 'application/merge-patch+json']) # noqa: E501
25782578

25792579
# Authentication setting
25802580
auth_settings = ['BearerToken'] # noqa: E501
@@ -2743,7 +2743,7 @@ def patch_cluster_custom_object_status_with_http_info(self, group, version, plur
27432743

27442744
# HTTP header `Content-Type`
27452745
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
2746-
['application/merge-patch+json']) # noqa: E501
2746+
['application/json-patch+json', 'application/merge-patch+json']) # noqa: E501
27472747

27482748
# Authentication setting
27492749
auth_settings = ['BearerToken'] # noqa: E501
@@ -2921,7 +2921,7 @@ def patch_namespaced_custom_object_with_http_info(self, group, version, namespac
29212921

29222922
# HTTP header `Content-Type`
29232923
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
2924-
['application/merge-patch+json']) # noqa: E501
2924+
['application/json-patch+json', 'application/merge-patch+json']) # noqa: E501
29252925

29262926
# Authentication setting
29272927
auth_settings = ['BearerToken'] # noqa: E501
@@ -3099,7 +3099,7 @@ def patch_namespaced_custom_object_scale_with_http_info(self, group, version, na
30993099

31003100
# HTTP header `Content-Type`
31013101
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
3102-
['application/merge-patch+json']) # noqa: E501
3102+
['application/json-patch+json', 'application/merge-patch+json', 'application/apply-patch+yaml']) # noqa: E501
31033103

31043104
# Authentication setting
31053105
auth_settings = ['BearerToken'] # noqa: E501
@@ -3277,7 +3277,7 @@ def patch_namespaced_custom_object_status_with_http_info(self, group, version, n
32773277

32783278
# HTTP header `Content-Type`
32793279
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
3280-
['application/merge-patch+json']) # noqa: E501
3280+
['application/json-patch+json', 'application/merge-patch+json', 'application/apply-patch+yaml']) # noqa: E501
32813281

32823282
# Authentication setting
32833283
auth_settings = ['BearerToken'] # noqa: E501

kubernetes/client/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
7878
self.default_headers[header_name] = header_value
7979
self.cookie = cookie
8080
# Set default User-Agent.
81-
self.user_agent = 'OpenAPI-Generator/12.0.0b1/python'
81+
self.user_agent = 'OpenAPI-Generator/12.0.0/python'
8282
self.client_side_validation = configuration.client_side_validation
8383

8484
def __enter__(self):

kubernetes/client/apis/__init__.py

Lines changed: 0 additions & 13 deletions
This file was deleted.

kubernetes/client/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ def to_debug_report(self):
347347
"OS: {env}\n"\
348348
"Python Version: {pyversion}\n"\
349349
"Version of the API: release-1.16\n"\
350-
"SDK Package Version: 12.0.0b1".\
350+
"SDK Package Version: 12.0.0".\
351351
format(env=sys.platform, pyversion=sys.version)
352352

353353
def get_host_settings(self):

kubernetes/test/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)