Skip to content

Commit 8af0a10

Browse files
committed
2 parents 24435a5 + ce387b3 commit 8af0a10

File tree

1,185 files changed

+110844
-48214
lines changed

Some content is hidden

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

1,185 files changed

+110844
-48214
lines changed

Diff for: CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Master
22
- Adding stream package to support calls like exec. The old way of calling them is deprecated. See [Troubleshooting](README.md#why-execattach-calls-doesnt-work)).
3+
- config.http_proxy_url is deprecated. use configuration.proxy instead.
4+
- Configuration is not a singleton object anymore. Please use Configuraion.set_default to change default configuration.
5+
- Configuration class does not support `ws_streaming_protocol` anymore. In ApiClient.set_default_header set `sec-websocket-protocol` to the preferred websocket protocol.
36

47
# v3.0.0
58
- Fix Operation names for subresources kubernetes/kubernetes#49357

Diff for: code-of-conduct.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
## Kubernetes Community Code of Conduct
2+
3+
Kubernetes follows the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md).
4+
5+
[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/code-of-conduct.md?pixel)]()

Diff for: examples/exec.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
import time
22

33
from kubernetes import config
4-
from kubernetes.client import configuration
4+
from kubernetes.client import Configuration
55
from kubernetes.client.apis import core_v1_api
66
from kubernetes.client.rest import ApiException
77
from kubernetes.stream import stream
88

99
config.load_kube_config()
10-
configuration.assert_hostname = False
10+
c = Configuration()
11+
c.assert_hostname = False
12+
Configuration.set_default(c)
1113
api = core_v1_api.CoreV1Api()
1214
name = 'busybox-test'
1315

Diff for: kubernetes/.swagger-codegen-ignore

-3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,3 @@ test-requirements.txt
55
setup.py
66
.travis.yml
77
tox.ini
8-
client/api_client.py
9-
client/configuration.py
10-
client/rest.py

Diff for: kubernetes/.swagger-codegen/COMMIT

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Requested Commit: v2.2.2
2-
Actual Commit: ff209ada223dcc7f6c6afc59bb02ec96b85c7e39
1+
Requested Commit: d2b91073e1fc499fea67141ff4c17740d25f8e83
2+
Actual Commit: d2b91073e1fc499fea67141ff4c17740d25f8e83

Diff for: kubernetes/.swagger-codegen/VERSION

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2.3.0-SNAPSHOT

Diff for: kubernetes/README.md

+239-49
Large diffs are not rendered by default.

Diff for: kubernetes/__init__.py

+1-1
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__ = "3.0.0-snapshot"
17+
__version__ = "4.0.0-snapshot"
1818

1919
import kubernetes.client
2020
import kubernetes.config

Diff for: kubernetes/client/__init__.py

+106-20
Large diffs are not rendered by default.

Diff for: kubernetes/client/api_client.py

-1
This file was deleted.

0 commit comments

Comments
 (0)