Skip to content

Commit 27c76c0

Browse files
authored
feat(k8s): remove support for sbs_csi_enabled (scaleway#968)
1 parent 0d9c481 commit 27c76c0

File tree

4 files changed

+0
-22
lines changed

4 files changed

+0
-22
lines changed

scaleway-async/scaleway_async/k8s/v1/marshalling.py

-6
Original file line numberDiff line numberDiff line change
@@ -492,12 +492,6 @@ def unmarshal_Cluster(data: Any) -> Cluster:
492492
else:
493493
args["commitment_ends_at"] = None
494494

495-
field = data.get("sbs_csi_enabled", None)
496-
if field is not None:
497-
args["sbs_csi_enabled"] = field
498-
else:
499-
args["sbs_csi_enabled"] = None
500-
501495
field = data.get("acl_available", None)
502496
if field is not None:
503497
args["acl_available"] = field

scaleway-async/scaleway_async/k8s/v1/types.py

-5
Original file line numberDiff line numberDiff line change
@@ -912,11 +912,6 @@ class Cluster:
912912
Date on which it will be possible to switch to a smaller offer.
913913
"""
914914

915-
sbs_csi_enabled: Optional[bool]
916-
"""
917-
Defines whether the SBS-enabled CSI starting from v0.3 is installed on the cluster.
918-
"""
919-
920915
acl_available: Optional[bool]
921916
"""
922917
Defines whether ACL is available on the cluster.

scaleway/scaleway/k8s/v1/marshalling.py

-6
Original file line numberDiff line numberDiff line change
@@ -492,12 +492,6 @@ def unmarshal_Cluster(data: Any) -> Cluster:
492492
else:
493493
args["commitment_ends_at"] = None
494494

495-
field = data.get("sbs_csi_enabled", None)
496-
if field is not None:
497-
args["sbs_csi_enabled"] = field
498-
else:
499-
args["sbs_csi_enabled"] = None
500-
501495
field = data.get("acl_available", None)
502496
if field is not None:
503497
args["acl_available"] = field

scaleway/scaleway/k8s/v1/types.py

-5
Original file line numberDiff line numberDiff line change
@@ -912,11 +912,6 @@ class Cluster:
912912
Date on which it will be possible to switch to a smaller offer.
913913
"""
914914

915-
sbs_csi_enabled: Optional[bool]
916-
"""
917-
Defines whether the SBS-enabled CSI starting from v0.3 is installed on the cluster.
918-
"""
919-
920915
acl_available: Optional[bool]
921916
"""
922917
Defines whether ACL is available on the cluster.

0 commit comments

Comments
 (0)