diff --git a/scaleway-async/scaleway_async/k8s/v1/marshalling.py b/scaleway-async/scaleway_async/k8s/v1/marshalling.py index 8d341f72f..4fea170ee 100644 --- a/scaleway-async/scaleway_async/k8s/v1/marshalling.py +++ b/scaleway-async/scaleway_async/k8s/v1/marshalling.py @@ -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 diff --git a/scaleway-async/scaleway_async/k8s/v1/types.py b/scaleway-async/scaleway_async/k8s/v1/types.py index cae7c0738..52e1c3f1d 100644 --- a/scaleway-async/scaleway_async/k8s/v1/types.py +++ b/scaleway-async/scaleway_async/k8s/v1/types.py @@ -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. diff --git a/scaleway/scaleway/k8s/v1/marshalling.py b/scaleway/scaleway/k8s/v1/marshalling.py index 8d341f72f..4fea170ee 100644 --- a/scaleway/scaleway/k8s/v1/marshalling.py +++ b/scaleway/scaleway/k8s/v1/marshalling.py @@ -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 diff --git a/scaleway/scaleway/k8s/v1/types.py b/scaleway/scaleway/k8s/v1/types.py index cae7c0738..52e1c3f1d 100644 --- a/scaleway/scaleway/k8s/v1/types.py +++ b/scaleway/scaleway/k8s/v1/types.py @@ -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.