-
Notifications
You must be signed in to change notification settings - Fork 327
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(kuma-dp): Fix envoy binary not found #695
Conversation
Check for envoy path and throw error if not found during initializing envoy Updated tests
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.
We need to implement two checks here:
- One to determine if
envoy
exists. If not then return an error that says something likecould not find the "envoy" executable in your path
- One to return an error if running envoy fails for whatever reason (we have this here in this PR)
- And we could even add a check to determine that the version of
envoy
that we found (envoy --version
) is compatible with the current version of Kuma.
For the last step, we will need to have a list of version ranges that we support (ie from 1.12
to 1.14
) so that we can support minor releases that are being created in the meanwhile by Envoy without having to update Kuma. I will let @jakubdyszkiewicz chime in for this.
|
Hi Marco,
|
I am hesitant about this step @subnetmarco If we want to do it, we should only validate major version so in case of |
@subnetmarco are we going to add this check? |
Okay then we can skip the Envoy version range validation for now, but I added another comment to my review that needs to be addressed. |
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.
Just small insignificant comments, overall looks good!
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.
@tharun208 Great! Thank you for your contribution!
Check for envoy path and throw an error if not found during initializing envoy
Updated tests
Fix Envoy Binary Not Found
When envoy is not found Kuma-dp stops.
Full changelog
Issues resolved
Fix #686