diff --git a/scaleway-async/scaleway_async/k8s/v1/marshalling.py b/scaleway-async/scaleway_async/k8s/v1/marshalling.py index da0ede59..558cd4cb 100644 --- a/scaleway-async/scaleway_async/k8s/v1/marshalling.py +++ b/scaleway-async/scaleway_async/k8s/v1/marshalling.py @@ -468,6 +468,10 @@ def unmarshal_Cluster(data: Any) -> Cluster: if field is not None: args["apiserver_cert_sans"] = field + field = data.get("iam_nodes_group_id", None) + if field is not None: + args["iam_nodes_group_id"] = field + field = data.get("open_id_connect_config", None) if field is not None: args["open_id_connect_config"] = unmarshal_ClusterOpenIDConnectConfig(field) diff --git a/scaleway-async/scaleway_async/k8s/v1/types.py b/scaleway-async/scaleway_async/k8s/v1/types.py index 248f6607..f979885a 100644 --- a/scaleway-async/scaleway_async/k8s/v1/types.py +++ b/scaleway-async/scaleway_async/k8s/v1/types.py @@ -892,6 +892,11 @@ class Cluster: Additional Subject Alternative Names for the Kubernetes API server certificate. """ + iam_nodes_group_id: str + """ + IAM group that nodes are members of (this field might be empty during early stage of cluster creation). + """ + open_id_connect_config: Optional[ClusterOpenIDConnectConfig] """ This configuration enables to update the OpenID Connect configuration of the Kubernetes API server. diff --git a/scaleway/scaleway/k8s/v1/marshalling.py b/scaleway/scaleway/k8s/v1/marshalling.py index da0ede59..558cd4cb 100644 --- a/scaleway/scaleway/k8s/v1/marshalling.py +++ b/scaleway/scaleway/k8s/v1/marshalling.py @@ -468,6 +468,10 @@ def unmarshal_Cluster(data: Any) -> Cluster: if field is not None: args["apiserver_cert_sans"] = field + field = data.get("iam_nodes_group_id", None) + if field is not None: + args["iam_nodes_group_id"] = field + field = data.get("open_id_connect_config", None) if field is not None: args["open_id_connect_config"] = unmarshal_ClusterOpenIDConnectConfig(field) diff --git a/scaleway/scaleway/k8s/v1/types.py b/scaleway/scaleway/k8s/v1/types.py index 248f6607..f979885a 100644 --- a/scaleway/scaleway/k8s/v1/types.py +++ b/scaleway/scaleway/k8s/v1/types.py @@ -892,6 +892,11 @@ class Cluster: Additional Subject Alternative Names for the Kubernetes API server certificate. """ + iam_nodes_group_id: str + """ + IAM group that nodes are members of (this field might be empty during early stage of cluster creation). + """ + open_id_connect_config: Optional[ClusterOpenIDConnectConfig] """ This configuration enables to update the OpenID Connect configuration of the Kubernetes API server.