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

Skip to content

Commit 686d64c

Browse files
authored
Merge pull request kubernetes-client#752 from roycaihw/release-9.0
Manual cherrypick master branch changes to release-9.0
2 parents 392aa5b + ce0dd71 commit 686d64c

File tree

7 files changed

+21
-5
lines changed

7 files changed

+21
-5
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# v9.0.0b1
2+
**Breaking Change:**
3+
- Move dependancy adal under extra require [kubernetes-client/python-base#108](https://github.com/kubernetes-client/python-base/pull/108)
4+
5+
**Bug Fix:**
6+
- Honor the specified resource version in stream request when watch restarts [kubernetes-client/python-base#109](https://github.com/kubernetes-client/python-base/pull/109)
7+
8+
**API Change:**
9+
- Add timeoutSeconds parameter to CustomObjectsApi list/watch calls [kubernetes-client/gen#94](https://github.com/kubernetes-client/gen/pull/94)
10+
11+
**New Feature:**
12+
- Avoid creating unused ThreadPools [kubernetes-client/gen#91](https://github.com/kubernetes-client/gen/pull/91)
13+
114
# v9.0.0a1
215
**New Feature:**
316
- Avoid creating unused ThreadPools [kubernetes-client/gen#91](https://github.com/kubernetes-client/gen/pull/91)

OWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# See the OWNERS docs at https://go.k8s.io/owners
2+
13
approvers:
24
- mbohlool
35
- caesarxuchao

examples/create_deployment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def main():
2626
config.load_kube_config()
2727

2828
with open(path.join(path.dirname(__file__), "nginx-deployment.yaml")) as f:
29-
dep = yaml.load(f)
29+
dep = yaml.safe_load(f)
3030
k8s_beta = client.ExtensionsV1beta1Api()
3131
resp = k8s_beta.create_namespaced_deployment(
3232
body=dep, namespace="default")

kubernetes/e2e_test/test_extensions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def test_create_deployment(self):
5050
- containerPort: 80
5151
'''
5252
resp = api.create_namespaced_deployment(
53-
body=yaml.load(deployment % name),
53+
body=yaml.safe_load(deployment % name),
5454
namespace="default")
5555
resp = api.read_namespaced_deployment(name, 'default')
5656
self.assertIsNotNone(resp)

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,3 @@ ipaddress>=1.0.17;python_version=="2.7" # PSF
99
websocket-client>=0.32.0,!=0.40.0,!=0.41.*,!=0.42.* # LGPLv2+
1010
requests # Apache-2.0
1111
requests-oauthlib # ISC
12-
adal>=1.0.2 # MIT

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@
2727
# prerequisite: setuptools
2828
# http://pypi.python.org/pypi/setuptools
2929

30-
EXTRAS = {}
30+
EXTRAS = {
31+
'adal': ['adal>=1.0.2']
32+
}
3133
REQUIRES = []
3234
with open('requirements.txt') as f:
3335
for line in f:

0 commit comments

Comments
 (0)