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

Use load balancer ip address if hostname is not defined #44

Merged
merged 2 commits into from
Aug 30, 2019

Conversation

waiariki-koia
Copy link
Contributor

No description provided.

envoyIngress.addUpstream(j.Hostname)
} else {
envoyIngress.addUpstream(j.IP)
}
Copy link
Contributor

Choose a reason for hiding this comment

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

what happens if neither of these are set?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Then we would get the same error as before. But it would also likely mean there is no load balancer to send traffic too.

@waiariki-koia waiariki-koia merged commit 428d18a into master Aug 30, 2019
@waiariki-koia waiariki-koia deleted the AddIpBasedIngress branch August 30, 2019 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants