-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Remove deprecated provider, fix flatcar configs, enable CI tests and refactor hetzner terraform #10002
Conversation
Hi @ThisIsQasim. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this very nice cleanup :D
/ok-to-test
/lgtm
contrib/terraform/hetzner/modules/kubernetes-cluster-flatcar/versions.tf
Outdated
Show resolved
Hide resolved
I noticed the CI tests were missing for hetzner terraform so I have added them but that has removed the lgtm label. @MrFreezeex do you mind taking another look? |
Sure, thanks for the extra test btw! |
Happy to contribute back! |
I don’t plan on any further changes so this is ready for review/merge @holmsten @liupeng0518 |
Hello @florianow You have put much your effort on hetzner terraform, so could you take a look at this pull request? |
@florianow do you mind taking a look? @holmsten @liupeng0518 @oomichi I noticed the the contributing guide mentions squashing commits. I had assumed the entire PR would be squashed before merging but please let me know if I should squash these commits |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for contribute :)
Thanks for checking this pull request @florianow /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: florianow, MrFreezeex, oomichi, ThisIsQasim The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
…refactor hetzner terraform (kubernetes-sigs#10002) * Remove deprecated provider and fix flatcar configs * Refactor for DRYness * Add missing line endings * Enable tests for hetzner terraform in CI * Add missing inventory for CI tests
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
The
template
terraform provider was deprecated hashicorp/terraform-provider-template#85 some time ago so binaries for new devices like the Apple Silicon Macs aren't available. This replaces the use of the provider with the built intemplatefile
function.Enables terraform validation tests in the CI.
Also refactors and fixes the outdated code in the flatcar module which had been broken due to breaking changes upstream.
Lastly, this formats the hcl using
terraform fmt
Which issue(s) this PR fixes:
Fixes #9961
Special notes for your reviewer:
Does this PR introduce a user-facing change?: