Skip to content

Commit b176bad

Browse files
authored
Merge pull request #440 from roycaihw/master
Update master to kubernetes 1.9
2 parents 0b2f12a + 12d0bcb commit b176bad

File tree

1,233 files changed

+139763
-10679
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,233 files changed

+139763
-10679
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# v5.0.0b1
2+
- Update to Kubernetes 1.9 cluster
23
- Label selector for pods is now required and must match the pod template's labels for v1beta2 StatefulSetSpec, ReplicaSetSpec, DaemonSetSpec and DeploymentSpec kubernetes/kubernetes#55357
4+
- The dynamic admission webhook is split into two kinds, mutating and validating. The kinds have changed completely and old code must be ported to admissionregistration.k8s.io/v1beta1 - MutatingWebhookConfiguration and ValidatingWebhookConfiguration kubernetes/kubernetes#55282
5+
- DaemonSet, Deployment, ReplicaSet, and StatefulSet have been promoted to GA and are available in the apps/v1 group version kubernetes/kubernetes#53679
6+
- Introduce new storage.k8s.io/v1alpha1 VolumeAttachment object kubernetes/kubernetes#54463
7+
- Introduce core/v1 RBDPersistentVolumeSource kubernetes/kubernetes#54302
8+
- StatefulSet status now has support for conditions kubernetes/kubernetes#55268
9+
- DaemonSet status now has support for conditions kubernetes/kubernetes#55272
310

411
# v4.0.0
512
- api change V1PersistentVolumeSpec to V1ScaleIOPersistentVolumeSource #397.

kubernetes/README.md

Lines changed: 158 additions & 16 deletions
Large diffs are not rendered by default.

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

1919
import kubernetes.client
2020
import kubernetes.config

kubernetes/client/__init__.py

Lines changed: 67 additions & 8 deletions
Large diffs are not rendered by default.

kubernetes/client/api_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
66
7-
OpenAPI spec version: v1.8.2
7+
OpenAPI spec version: v1.9.3
88
99
Generated by: https://github.com/swagger-api/swagger-codegen.git
1010
"""
@@ -71,7 +71,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, cook
7171
self.default_headers[header_name] = header_value
7272
self.cookie = cookie
7373
# Set default User-Agent.
74-
self.user_agent = 'Swagger-Codegen/4.0.0-snapshot/python'
74+
self.user_agent = 'Swagger-Codegen/5.0.0-snapshot/python'
7575

7676
def __del__(self):
7777
self.pool.close()

kubernetes/client/apis/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@
33
# import apis into api package
44
from .admissionregistration_api import AdmissionregistrationApi
55
from .admissionregistration_v1alpha1_api import AdmissionregistrationV1alpha1Api
6+
from .admissionregistration_v1beta1_api import AdmissionregistrationV1beta1Api
67
from .apiextensions_api import ApiextensionsApi
78
from .apiextensions_v1beta1_api import ApiextensionsV1beta1Api
89
from .apiregistration_api import ApiregistrationApi
910
from .apiregistration_v1beta1_api import ApiregistrationV1beta1Api
1011
from .apis_api import ApisApi
1112
from .apps_api import AppsApi
13+
from .apps_v1_api import AppsV1Api
1214
from .apps_v1beta1_api import AppsV1beta1Api
1315
from .apps_v1beta2_api import AppsV1beta2Api
1416
from .authentication_api import AuthenticationApi
@@ -29,6 +31,8 @@
2931
from .core_api import CoreApi
3032
from .core_v1_api import CoreV1Api
3133
from .custom_objects_api import CustomObjectsApi
34+
from .events_api import EventsApi
35+
from .events_v1beta1_api import EventsV1beta1Api
3236
from .extensions_api import ExtensionsApi
3337
from .extensions_v1beta1_api import ExtensionsV1beta1Api
3438
from .logs_api import LogsApi
@@ -46,5 +50,6 @@
4650
from .settings_v1alpha1_api import SettingsV1alpha1Api
4751
from .storage_api import StorageApi
4852
from .storage_v1_api import StorageV1Api
53+
from .storage_v1alpha1_api import StorageV1alpha1Api
4954
from .storage_v1beta1_api import StorageV1beta1Api
5055
from .version_api import VersionApi

kubernetes/client/apis/admissionregistration_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
77
8-
OpenAPI spec version: v1.8.2
8+
OpenAPI spec version: v1.9.3
99
1010
Generated by: https://github.com/swagger-api/swagger-codegen.git
1111
"""

kubernetes/client/apis/admissionregistration_v1alpha1_api.py

Lines changed: 166 additions & 957 deletions
Large diffs are not rendered by default.

kubernetes/client/apis/admissionregistration_v1beta1_api.py

Lines changed: 1706 additions & 0 deletions
Large diffs are not rendered by default.

kubernetes/client/apis/apiextensions_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
77
8-
OpenAPI spec version: v1.8.2
8+
OpenAPI spec version: v1.9.3
99
1010
Generated by: https://github.com/swagger-api/swagger-codegen.git
1111
"""

kubernetes/client/apis/apiextensions_v1beta1_api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
77
8-
OpenAPI spec version: v1.8.2
8+
OpenAPI spec version: v1.9.3
99
1010
Generated by: https://github.com/swagger-api/swagger-codegen.git
1111
"""
@@ -274,7 +274,7 @@ def delete_custom_resource_definition(self, name, body, **kwargs):
274274
:param str pretty: If 'true', then the output is pretty printed.
275275
:param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
276276
:param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
277-
:param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
277+
:param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.
278278
:return: V1Status
279279
If the method is called asynchronously,
280280
returns the request thread.
@@ -300,7 +300,7 @@ def delete_custom_resource_definition_with_http_info(self, name, body, **kwargs)
300300
:param str pretty: If 'true', then the output is pretty printed.
301301
:param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
302302
:param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
303-
:param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
303+
:param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.
304304
:return: V1Status
305305
If the method is called asynchronously,
306306
returns the request thread.

kubernetes/client/apis/apiregistration_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
77
8-
OpenAPI spec version: v1.8.2
8+
OpenAPI spec version: v1.9.3
99
1010
Generated by: https://github.com/swagger-api/swagger-codegen.git
1111
"""

kubernetes/client/apis/apiregistration_v1beta1_api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
77
8-
OpenAPI spec version: v1.8.2
8+
OpenAPI spec version: v1.9.3
99
1010
Generated by: https://github.com/swagger-api/swagger-codegen.git
1111
"""
@@ -149,7 +149,7 @@ def delete_api_service(self, name, body, **kwargs):
149149
:param str pretty: If 'true', then the output is pretty printed.
150150
:param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
151151
:param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
152-
:param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
152+
:param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.
153153
:return: V1Status
154154
If the method is called asynchronously,
155155
returns the request thread.
@@ -175,7 +175,7 @@ def delete_api_service_with_http_info(self, name, body, **kwargs):
175175
:param str pretty: If 'true', then the output is pretty printed.
176176
:param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
177177
:param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
178-
:param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
178+
:param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.
179179
:return: V1Status
180180
If the method is called asynchronously,
181181
returns the request thread.

kubernetes/client/apis/apis_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
77
8-
OpenAPI spec version: v1.8.2
8+
OpenAPI spec version: v1.9.3
99
1010
Generated by: https://github.com/swagger-api/swagger-codegen.git
1111
"""

kubernetes/client/apis/apps_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
77
8-
OpenAPI spec version: v1.8.2
8+
OpenAPI spec version: v1.9.3
99
1010
Generated by: https://github.com/swagger-api/swagger-codegen.git
1111
"""

0 commit comments

Comments
 (0)