Skip to content
This repository was archived by the owner on Nov 29, 2023. It is now read-only.

Commit 5c1d04f

Browse files
feat: Add support for specifying stack type for clusters. This will allow clusters to be created as dual stack or toggled between IPV4 and dual stack (#323)
* feat: Add support for specifying stack type for clusters. This will allow clusters to be created as dual stack or toggled between IPV4 and dual stack Clients can now configure dual stack clusters by specifying a stack type of IPV4_IPV6 during cluster creation, or with an update command. When used with a cluster creation command that creates a new subnet, the ipv6_access_type field can be used to specify whether the subnet has internal or external IPv6 access. When used with a cluster update command, the subnet must already be dual stack. PiperOrigin-RevId: 495438580 Source-Link: googleapis/googleapis@483c1ee Source-Link: https://github.com/googleapis/googleapis-gen/commit/20bdefcf6cff3cea34a69f7f8f57112aaa602c57 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjBiZGVmY2Y2Y2ZmM2NlYTM0YTY5ZjdmOGY1NzExMmFhYTYwMmM1NyJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 30da141 commit 5c1d04f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

google/cloud/container_v1/types/cluster_service.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2633,6 +2633,12 @@ class ClusterUpdate(proto.Message):
26332633
desired_node_pool_logging_config (google.cloud.container_v1.types.NodePoolLoggingConfig):
26342634
The desired node pool logging configuration
26352635
defaults for the cluster.
2636+
desired_stack_type (google.cloud.container_v1.types.StackType):
2637+
The desired stack type of the cluster.
2638+
If a stack type is provided and does not match
2639+
the current stack type of the cluster, update
2640+
will attempt to change the stack type to the new
2641+
type.
26362642
"""
26372643

26382644
desired_node_version: str = proto.Field(
@@ -2820,6 +2826,11 @@ class ClusterUpdate(proto.Message):
28202826
number=116,
28212827
message="NodePoolLoggingConfig",
28222828
)
2829+
desired_stack_type: "StackType" = proto.Field(
2830+
proto.ENUM,
2831+
number=119,
2832+
enum="StackType",
2833+
)
28232834

28242835

28252836
class Operation(proto.Message):

0 commit comments

Comments
 (0)