Merge pull request #752 from roycaihw/release-9.0

Manual cherrypick master branch changes to release-9.0
This commit is contained in:
Kubernetes Prow Robot 2019-02-07 19:23:56 -08:00 committed by GitHub
commit 686d64cffb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 21 additions and 5 deletions

View File

@ -1,3 +1,16 @@
# v9.0.0b1
**Breaking Change:**
- Move dependancy adal under extra require [kubernetes-client/python-base#108](https://github.com/kubernetes-client/python-base/pull/108)
**Bug Fix:**
- 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)
**API Change:**
- Add timeoutSeconds parameter to CustomObjectsApi list/watch calls [kubernetes-client/gen#94](https://github.com/kubernetes-client/gen/pull/94)
**New Feature:**
- Avoid creating unused ThreadPools [kubernetes-client/gen#91](https://github.com/kubernetes-client/gen/pull/91)
# v9.0.0a1
**New Feature:**
- Avoid creating unused ThreadPools [kubernetes-client/gen#91](https://github.com/kubernetes-client/gen/pull/91)

2
OWNERS
View File

@ -1,3 +1,5 @@
# See the OWNERS docs at https://go.k8s.io/owners
approvers:
- mbohlool
- caesarxuchao

View File

@ -26,7 +26,7 @@ def main():
config.load_kube_config()
with open(path.join(path.dirname(__file__), "nginx-deployment.yaml")) as f:
dep = yaml.load(f)
dep = yaml.safe_load(f)
k8s_beta = client.ExtensionsV1beta1Api()
resp = k8s_beta.create_namespaced_deployment(
body=dep, namespace="default")

@ -1 +1 @@
Subproject commit 5c242ead602797ae870798882654f7a2a4edfe39
Subproject commit 2d69e89dab7134186cbcdaf82381ab6295c6c394

View File

@ -50,7 +50,7 @@ spec:
- containerPort: 80
'''
resp = api.create_namespaced_deployment(
body=yaml.load(deployment % name),
body=yaml.safe_load(deployment % name),
namespace="default")
resp = api.read_namespaced_deployment(name, 'default')
self.assertIsNotNone(resp)

View File

@ -9,4 +9,3 @@ ipaddress>=1.0.17;python_version=="2.7" # PSF
websocket-client>=0.32.0,!=0.40.0,!=0.41.*,!=0.42.* # LGPLv2+
requests # Apache-2.0
requests-oauthlib # ISC
adal>=1.0.2 # MIT

View File

@ -27,7 +27,9 @@ DEVELOPMENT_STATUS = "4 - Beta"
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
EXTRAS = {}
EXTRAS = {
'adal': ['adal>=1.0.2']
}
REQUIRES = []
with open('requirements.txt') as f:
for line in f: