-
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
fix(contrib/terraform): do not add access_ip when not wanted #9869
Conversation
Hi @maxime1907. 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.
@maxime1907 Looks good, thank you for the PR
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: floryut, maxime1907 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 |
/ok-to-test |
/close |
@mzaian: Closed this PR. In response to this:
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. |
/reopen |
@mzaian: Reopened this PR. In response to this:
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. |
Thanks @maxime1907 |
This seems to break the inventory script when upgrading to v2.22:
It causes an error here: https://github.com/kubernetes-sigs/kubespray/blob/master/contrib/terraform/terraform.py#L372 Does anyone know the fix for this? |
What type of PR is this?
/kind bug
What this PR does / why we need it:
The documentation says that when setting
use_access_ip
to0
in terraform, private IPs will be used to transmit internal cluster traffic.But that's not the case when only using internal IPs without floating IPs, it still wants to use the public
access_ip_v4
instead ofip
.So this simple PR removes
access_ip
when internal IP usage is wanted.Does this PR introduce a user-facing change?: