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
4 changes: 4 additions & 0 deletions scaleway-async/scaleway_async/k8s/v1/marshalling.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
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 @@ -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.
Expand Down
4 changes: 4 additions & 0 deletions scaleway/scaleway/k8s/v1/marshalling.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
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 @@ -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.
Expand Down