Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions scaleway-async/scaleway_async/k8s/v1/marshalling.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,12 @@ def unmarshal_Cluster(data: Any) -> Cluster:
else:
args["iam_nodes_group_id"] = None

field = data.get("iam_control_plane_application_id", None)
if field is not None:
args["iam_control_plane_application_id"] = field
else:
args["iam_control_plane_application_id"] = None

field = data.get("pod_cidr", None)
if field is not None:
args["pod_cidr"] = field
Expand Down
5 changes: 5 additions & 0 deletions scaleway-async/scaleway_async/k8s/v1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -901,6 +901,11 @@ class Cluster:
IAM group that nodes are members of (this field might be empty during early stage of cluster creation).
"""

iam_control_plane_application_id: str
"""
IAM application ID for the control plane (this field might be empty during early stage of cluster creation).
"""

pod_cidr: str
"""
Subnet used for the Pod CIDR.
Expand Down
6 changes: 6 additions & 0 deletions scaleway/scaleway/k8s/v1/marshalling.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,12 @@ def unmarshal_Cluster(data: Any) -> Cluster:
else:
args["iam_nodes_group_id"] = None

field = data.get("iam_control_plane_application_id", None)
if field is not None:
args["iam_control_plane_application_id"] = field
else:
args["iam_control_plane_application_id"] = None

field = data.get("pod_cidr", None)
if field is not None:
args["pod_cidr"] = field
Expand Down
5 changes: 5 additions & 0 deletions scaleway/scaleway/k8s/v1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -901,6 +901,11 @@ class Cluster:
IAM group that nodes are members of (this field might be empty during early stage of cluster creation).
"""

iam_control_plane_application_id: str
"""
IAM application ID for the control plane (this field might be empty during early stage of cluster creation).
"""

pod_cidr: str
"""
Subnet used for the Pod CIDR.
Expand Down
Loading