Skip to content

Commit 20cec68

Browse files
feat(k8s): add temporary acl_available field on Cluster (#781)
Co-authored-by: Jonathan R. <jremy@scaleway.com>
1 parent 6c60a26 commit 20cec68

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -500,11 +500,11 @@ def unmarshal_Cluster(data: Any) -> Cluster:
500500
else:
501501
args["sbs_csi_enabled"] = None
502502

503-
field = data.get("full_vpc_integraton_enabled", None)
503+
field = data.get("acl_available", None)
504504
if field is not None:
505-
args["full_vpc_integraton_enabled"] = field
505+
args["acl_available"] = field
506506
else:
507-
args["full_vpc_integraton_enabled"] = None
507+
args["acl_available"] = None
508508

509509
return Cluster(**args)
510510

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -903,9 +903,9 @@ class Cluster:
903903
Defines whether the SBS-enabled CSI starting from v0.3 is installed on the cluster.
904904
"""
905905

906-
full_vpc_integraton_enabled: Optional[bool]
906+
acl_available: Optional[bool]
907907
"""
908-
Defines whether VPC is fully integrated on the cluster.
908+
Defines whether ACL is available on the cluster.
909909
"""
910910

911911

scaleway/scaleway/k8s/v1/marshalling.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -500,11 +500,11 @@ def unmarshal_Cluster(data: Any) -> Cluster:
500500
else:
501501
args["sbs_csi_enabled"] = None
502502

503-
field = data.get("full_vpc_integraton_enabled", None)
503+
field = data.get("acl_available", None)
504504
if field is not None:
505-
args["full_vpc_integraton_enabled"] = field
505+
args["acl_available"] = field
506506
else:
507-
args["full_vpc_integraton_enabled"] = None
507+
args["acl_available"] = None
508508

509509
return Cluster(**args)
510510

scaleway/scaleway/k8s/v1/types.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -903,9 +903,9 @@ class Cluster:
903903
Defines whether the SBS-enabled CSI starting from v0.3 is installed on the cluster.
904904
"""
905905

906-
full_vpc_integraton_enabled: Optional[bool]
906+
acl_available: Optional[bool]
907907
"""
908-
Defines whether VPC is fully integrated on the cluster.
908+
Defines whether ACL is available on the cluster.
909909
"""
910910

911911

0 commit comments

Comments
 (0)