From 0ba543b3da469f2d4f9148875caee78697f9ef67 Mon Sep 17 00:00:00 2001 From: Haowei Cai Date: Thu, 18 Jul 2019 17:23:32 -0700 Subject: [PATCH] workaround for CRD conditions validation ref https://github.com/kubernetes-client/gen/issues/52 --- .../client/models/v1beta1_custom_resource_definition_status.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/kubernetes/client/models/v1beta1_custom_resource_definition_status.py b/kubernetes/client/models/v1beta1_custom_resource_definition_status.py index 4b10a8a619..067ee3f59b 100644 --- a/kubernetes/client/models/v1beta1_custom_resource_definition_status.py +++ b/kubernetes/client/models/v1beta1_custom_resource_definition_status.py @@ -101,9 +101,6 @@ def conditions(self, conditions): :param conditions: The conditions of this V1beta1CustomResourceDefinitionStatus. :type: list[V1beta1CustomResourceDefinitionCondition] """ - if conditions is None: - raise ValueError("Invalid value for `conditions`, must not be `None`") - self._conditions = conditions @property