Skip to content

Commit 668ab15

Browse files
authored
Merge pull request #1449 from scottilee/release-17.0
Release v17.17.0.b1
2 parents be200e2 + 94ed842 commit 668ab15

14 files changed

+108
-14
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ Changelog since v17.14.0a1:
88
- Add Python 3.9 to build [kubernetes-client/python#1311](https://github.com/kubernetes-client/python/pull/1311)
99
- Enable leaderelection [kubernetes-client/python#1363](https://github.com/kubernetes-client/python/pull/1363)
1010

11+
**API Change:**
12+
- Add allowWatchBookmarks, resoureVersionMatch parameters to custom objects. [kubernetes-client/gen#180](https://github.com/kubernetes-client/gen/pull/180)
13+
1114
**Bug Fix:**
1215
- fix: load cache error when CacheDecoder object is not callable [kubernetes-client/python-base#226](https://github.com/kubernetes-client/python-base/pull/226)
1316
- raise exception when an empty config file is passed to load_kube_config [kubernetes-client/python-base#223](https://github.com/kubernetes-client/python-base/pull/223)

kubernetes/.gitlab-ci.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# ref: https://docs.gitlab.com/ee/ci/README.html
2+
3+
stages:
4+
- test
5+
6+
.nosetest:
7+
stage: test
8+
script:
9+
- pip install -r requirements.txt
10+
- pip install -r test-requirements.txt
11+
- pytest --cov=client
12+
13+
nosetest-2.7:
14+
extends: .nosetest
15+
image: python:2.7-alpine
16+
nosetest-3.3:
17+
extends: .nosetest
18+
image: python:3.3-alpine
19+
nosetest-3.4:
20+
extends: .nosetest
21+
image: python:3.4-alpine
22+
nosetest-3.5:
23+
extends: .nosetest
24+
image: python:3.5-alpine
25+
nosetest-3.6:
26+
extends: .nosetest
27+
image: python:3.6-alpine
28+
nosetest-3.7:
29+
extends: .nosetest
30+
image: python:3.7-alpine
31+
nosetest-3.8:
32+
extends: .nosetest
33+
image: python:3.8-alpine
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
04859ba873ac89c62207ee4a60256edc321314c7d8521c5fd7fba41a1290d637
1+
7efcb256011a28b93d9484abc205afaa57150cdcd8d375e04330fcb51cef64db

kubernetes/README.md

+1-1
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.17
7-
- Package version: 17.14.0a1
7+
- Package version: 17.17.0b1
88
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
99

1010
## Requirements.

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__ = "17.14.0a1"
17+
__version__ = "17.17.0b1"
1818

1919
import kubernetes.client
2020
import kubernetes.config

kubernetes/client/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
from __future__ import absolute_import
1616

17-
__version__ = "17.14.0a1"
17+
__version__ = "17.17.0b1"
1818

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

kubernetes/client/api/custom_objects_api.py

+20
Large diffs are not rendered by default.

kubernetes/client/api_client.py

+1-1
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/17.14.0a1/python'
81+
self.user_agent = 'OpenAPI-Generator/17.17.0b1/python'
8282
self.client_side_validation = configuration.client_side_validation
8383

8484
def __enter__(self):

kubernetes/client/configuration.py

+1-1
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.17\n"\
350-
"SDK Package Version: 17.14.0a1".\
350+
"SDK Package Version: 17.17.0b1".\
351351
format(env=sys.platform, pyversion=sys.version)
352352

353353
def get_host_settings(self):

kubernetes/docs/CustomObjectsApi.md

+12-4
Large diffs are not rendered by default.

kubernetes/setup.cfg

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[flake8]
2+
max-line-length=99

scripts/constants.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
KUBERNETES_BRANCH = "release-1.17"
1919

2020
# client version for packaging and releasing.
21-
CLIENT_VERSION = "17.14.0a1"
21+
CLIENT_VERSION = "17.17.0b1"
2222

2323
# Name of the release package
2424
PACKAGE_NAME = "kubernetes"
2525

2626
# Stage of development, mainly used in setup.py's classifiers.
27-
DEVELOPMENT_STATUS = "3 - Alpha"
27+
DEVELOPMENT_STATUS = "4 - Beta"
2828

2929

3030
# If called directly, return the constant value given

scripts/swagger.json

+28
Original file line numberDiff line numberDiff line change
@@ -108705,6 +108705,13 @@
108705108705
],
108706108706
"description": "list or watch namespace scoped custom objects",
108707108707
"parameters": [
108708+
{
108709+
"uniqueItems": true,
108710+
"type": "boolean",
108711+
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.",
108712+
"name": "allowWatchBookmarks",
108713+
"in": "query"
108714+
},
108708108715
{
108709108716
"uniqueItems": true,
108710108717
"in": "query",
@@ -108740,6 +108747,13 @@
108740108747
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
108741108748
"name": "resourceVersion"
108742108749
},
108750+
{
108751+
"uniqueItems": true,
108752+
"type": "string",
108753+
"description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
108754+
"name": "resourceVersionMatch",
108755+
"in": "query"
108756+
},
108743108757
{
108744108758
"uniqueItems": true,
108745108759
"in": "query",
@@ -108931,6 +108945,13 @@
108931108945
],
108932108946
"description": "list or watch cluster scoped custom objects",
108933108947
"parameters": [
108948+
{
108949+
"uniqueItems": true,
108950+
"type": "boolean",
108951+
"description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.",
108952+
"name": "allowWatchBookmarks",
108953+
"in": "query"
108954+
},
108934108955
{
108935108956
"uniqueItems": true,
108936108957
"in": "query",
@@ -108966,6 +108987,13 @@
108966108987
"description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.",
108967108988
"name": "resourceVersion"
108968108989
},
108990+
{
108991+
"uniqueItems": true,
108992+
"type": "string",
108993+
"description": "resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details.\n\nDefaults to unset",
108994+
"name": "resourceVersionMatch",
108995+
"in": "query"
108996+
},
108969108997
{
108970108998
"uniqueItems": true,
108971108999
"in": "query",

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616

1717
# Do not edit these constants. They will be updated automatically
1818
# by scripts/update-client.sh.
19-
CLIENT_VERSION = "17.14.0a1"
19+
CLIENT_VERSION = "17.17.0b1"
2020
PACKAGE_NAME = "kubernetes"
21-
DEVELOPMENT_STATUS = "3 - Alpha"
21+
DEVELOPMENT_STATUS = "4 - Beta"
2222

2323
# To install the library, run the following
2424
#

0 commit comments

Comments
 (0)