From ee0e332776d9002bea07d328d49e90ed8c221795 Mon Sep 17 00:00:00 2001 From: Jason Price Date: Mon, 21 Jun 2021 13:21:20 -0400 Subject: [PATCH] tolerate null sources on projected volumes See issue 1494 Removes the false requirement that sources be a populated list --- kubernetes/client/models/v1_projected_volume_source.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/kubernetes/client/models/v1_projected_volume_source.py b/kubernetes/client/models/v1_projected_volume_source.py index a2f41d730..ab8c66a26 100644 --- a/kubernetes/client/models/v1_projected_volume_source.py +++ b/kubernetes/client/models/v1_projected_volume_source.py @@ -99,9 +99,6 @@ class V1ProjectedVolumeSource(object): :param sources: The sources of this V1ProjectedVolumeSource. # noqa: E501 :type: list[V1VolumeProjection] """ - if self.local_vars_configuration.client_side_validation and sources is None: # noqa: E501 - raise ValueError("Invalid value for `sources`, must not be `None`") # noqa: E501 - self._sources = sources def to_dict(self):