Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

container: refactor node_config node pool update #11826

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

wyardley
Copy link
Contributor

This sets the stage for consolidating the logic for updating nodepools between the container_cluster and container_node_pool resources, by creating a new nodePoolNodeConfigUpdate() function.

Part of hashicorp/terraform-provider-google#19225

Release Note Template for Downstream PRs (will be copied)


@modular-magician modular-magician added the awaiting-approval Pull requests that needs reviewer's approval to run presubmit tests label Sep 26, 2024
@wyardley wyardley force-pushed the wyardley/node_config_update/19225_partial branch from 5486b3d to 8e3c116 Compare September 26, 2024 20:37
@wyardley wyardley marked this pull request as ready for review September 26, 2024 20:38
Copy link

Hello! I am a robot. Tests will require approval from a repository maintainer to run.

@NickElliot, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look.

You can help make sure that review is quick by doing a self-review and by running impacted tests locally.

nodePoolInfo.project,
nodePoolInfo.location,
"updating GKE node pool disk_size_gb/disk_type/machine_type/storage_pools", userAgent,
timeout)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A lot of opportunity to DRY up these parts with a function at some point too, but trying to keep it pretty self-contained here for now.

This sets the stage for consolidating the logic for updating nodepools
between the `container_cluster` and `container_node_pool` resources, by
creating a new `nodePoolNodeConfigUpdate()` function.

Part of hashicorp/terraform-provider-google#19225
@wyardley wyardley force-pushed the wyardley/node_config_update/19225_partial branch from 8e3c116 to d467fd7 Compare September 26, 2024 22:00
@wyardley wyardley changed the title refactor: move node_config node pool update container: refactor node_config node pool update Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-approval Pull requests that needs reviewer's approval to run presubmit tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants