-
Notifications
You must be signed in to change notification settings - Fork 345
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
fixes #1568 #2225 #2466
fixes #1568 #2225 #2466
Conversation
added function getIngressClass which set default or nginx ingress class to jaeger define ingress for providing loadbalancer IP. Signed-off-by: Gaurav Singh <gauravsinghbr@hotmail.com>
Hi @antoniomerlin. Thanks for your PR. I'm waiting for a jaegertracing 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.
Please, add a test for this.
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.
Please, add a test for this.
Hi, thanks for reviewing, i've modified the changes just a query you already having test mentioning this scenario :-
|
You can complete that test to set a custom value and check if the custom value is properly set. |
okay thanks. |
…r nginx ingressClass is added to the jaeger ingress. Signed-off-by: Gaurav Singh <gauravsinghbr@hotmail.com>
Hi, I've modified that test case to set ingressNoClass to default or nginx available ingress controller. And if any error or unable to find any ingress controller installed then it would be remain empty. |
… ingressClass is not set then the default or nginx ingressClass is added to the jaeger ingress. Signed-off-by: Gaurav Singh <gauravsinghbr@hotmail.com>
@rubenvp8510 could you take a look to this PR? |
getInClusterAvailableIngressClass() and updated manifests Signed-off-by: Gaurav Singh <gauravsinghbr@hotmail.com>
Signed-off-by: Gaurav Singh <gauravsinghbr@hotmail.com>
return "", err | ||
} | ||
for _, ingress := range ingressList.Items { | ||
if ingress.Name == "nginx" { |
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: may be we should put this on a constant
There is an small issue with the linter. and small style comments other than that this LGTM |
added function getIngressClass which set default or nginx ingress class to jaeger define ingress for providing loadbalancer IP.
Which problem is this PR solving?
Description of the changes
How was this change tested?
Checklist
jaeger
:make lint test
jaeger-ui
:yarn lint
andyarn test