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

adds explicit check for existing tunnel to avoid partial matches #442

Merged
merged 1 commit into from
May 16, 2018

Conversation

rmenn
Copy link
Contributor

@rmenn rmenn commented May 16, 2018

The current stings.Contains passes checks when there is are similar IPs

Ex:
the two ips exist 10.1.73.7 & 10.1.73.72 where in the latter the tunnel will pass the condition for the former. This issue was encountered multiple times when there are similar IPs with the last octets sharing values. This has fixed the issue in our current environment.

@murali-reddy murali-reddy merged commit 8aa4324 into cloudnativelabs:master May 16, 2018
@murali-reddy
Copy link
Member

@rmenn LGTM. Thanks for catching this issue and fixing this. Really appreciate for being persistent and fixing this.

@rmenn rmenn deleted the b_exp_contains branch May 16, 2018 17:55
@rmenn
Copy link
Contributor Author

rmenn commented May 17, 2018

if someone wants to test this, an image is available at rmenn/kube-router:v0.1.3 please pardon the versioning

@murali-reddy
Copy link
Member

I just made a release just for this issue https://github.com/cloudnativelabs/kube-router/releases/tag/v0.2.0-beta.6 :)

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.

2 participants