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: fix node_config.kubelet_config updates in google_container_cluster #11697

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

wyardley
Copy link
Contributor

@wyardley wyardley commented Sep 13, 2024

This is still shy of a fix for updates for everything within node_config, and doesn't consolidate where we're updating the google_container_node_pool resource vs. the default-pool that can be created directly within google_container_cluster, but it does fix a subset of the fields that don't work, and also simplifies some of the code and consolidates some tests, so maybe still worth considering as another step in the right direction.

  • Fix updates for fields within node_config.kubelet_config where updates didn't function properly (basically all except for insecure_kubelet_readonly_port_enabled.
  • Consolidate test cases for items under node_config.kubelet_config with the one for node_config.kubelet_config.insecure_kubelet_readonly_port_enabled, including testing updates.

Part of hashicorp/terraform-provider-google#19225

Release Note Template for Downstream PRs (will be copied)

container: fixed `node_config.kubelet_config` updates in `google_container_cluster` resource

@github-actions github-actions bot requested a review from trodge September 13, 2024 05:51
Copy link

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

@trodge, 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.

@modular-magician modular-magician added the awaiting-approval Pull requests that needs reviewer's approval to run presubmit tests label Sep 13, 2024
@wyardley wyardley force-pushed the wyardley/19225_partial_2 branch from d5b0198 to 20f7ce8 Compare September 13, 2024 05:59
@wyardley wyardley force-pushed the wyardley/19225_partial_2 branch from 20f7ce8 to cf0a010 Compare September 13, 2024 06:05
@wyardley wyardley changed the title container: fix node_config.kubelet_config updates container: fix node_config.kubelet_config updates in google_container_cluster Sep 13, 2024
@modular-magician modular-magician added service/container and removed awaiting-approval Pull requests that needs reviewer's approval to run presubmit tests labels Sep 16, 2024
@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 2 files changed, 47 insertions(+), 69 deletions(-))
google-beta provider: Diff ( 2 files changed, 47 insertions(+), 69 deletions(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 208
Passed tests: 194
Skipped tests: 13
Affected tests: 1

Click here to see the affected service packages
  • container

Action taken

Found 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccContainerCluster_withNodeConfigKubeletConfigSettingsUpdates

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

$\textcolor{green}{\textsf{Tests passed during RECORDING mode:}}$
TestAccContainerCluster_withNodeConfigKubeletConfigSettingsUpdates[Debug log]

$\textcolor{green}{\textsf{No issues found for passed tests after REPLAYING rerun.}}$


$\textcolor{green}{\textsf{All tests passed!}}$

View the build log or the debug log for each test

Copy link

@trodge This PR has been waiting for review for 3 weekdays. Please take a look! Use the label disable-review-reminders to disable these notifications.

- Fix updates for fields within `node_config.kubelet_config` where
  updates didn't function properly (basically all except for
  `insecure_kubelet_readonly_port_enabled`.
- Consolidate test cases for items under `node_config.kubelet_config`
  with the one for
  `node_config.kubelet_config.insecure_kubelet_readonly_port_enabled`
Part of hashicorp/terraform-provider-google#19225
@wyardley wyardley force-pushed the wyardley/19225_partial_2 branch from cf0a010 to 4a61921 Compare September 17, 2024 21:58
@modular-magician modular-magician added awaiting-approval Pull requests that needs reviewer's approval to run presubmit tests and removed awaiting-approval Pull requests that needs reviewer's approval to run presubmit tests labels Sep 17, 2024
@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 2 files changed, 46 insertions(+), 68 deletions(-))
google-beta provider: Diff ( 2 files changed, 46 insertions(+), 68 deletions(-))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 209
Passed tests: 196
Skipped tests: 13
Affected tests: 0

Click here to see the affected service packages
  • container

$\textcolor{green}{\textsf{All tests passed!}}$

View the build log

Copy link

@GoogleCloudPlatform/terraform-team @trodge This PR has been waiting for review for 1 week. Please take a look! Use the label disable-review-reminders to disable these notifications.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants