-
Notifications
You must be signed in to change notification settings - Fork 103
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
MGMT-15088: Add multi VIP support #2294
Conversation
@nmagnezi: This pull request references MGMT-15088 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.15.0" version, but no target version was set. 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. |
526f590
to
b7c6316
Compare
2b5bd84
to
dab9e3c
Compare
/test ? |
@nmagnezi: The following commands are available to trigger required jobs:
The following commands are available to trigger optional jobs:
Use
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. |
d159ec1
to
5007aeb
Compare
d54064c
to
285556a
Compare
if self._config.api_vips: | ||
tfvars["api_vips"] = [i.get("ip") for i in self._config.api_vips] | ||
else: | ||
tfvars["api_vips"] = [i.get("ip") for i in vips["api_vips"]] | ||
|
||
if self._config.ingress_vips: | ||
tfvars["ingress_vips"] = [i.get("ip") for i in self._config.ingress_vips] | ||
else: | ||
tfvars["ingress_vips"] = [i.get("ip") for i in vips["ingress_vips"]] |
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.
nit: should we encapsulate this logic in some helper methods/functions? i.e. tfavars["api_vips"] = get_api_vips(vips)
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.
Done as a single function for both
/retest |
/lgtm @adriengentil could you please take a look even if it's merged 🙏 ? |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: nmagnezi, rccrdpccl 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 |
/retest |
/lgtm |
@nmagnezi: The following test failed, say
Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
No description provided.