-
Notifications
You must be signed in to change notification settings - Fork 18
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
Handle None being returned for ingresses #353
base: main
Are you sure you want to change the base?
Conversation
I am happy to write tests for this, but would need guidance to get started. |
That's great. Thank you for taking the time to try and fix this. Could you add a unit test then that replicates the situtation as described in the issue #287 (comment)? This way, we 'll make sure that the fix you 've sent makes what we expect it to. You could do that by adding another fixture for the specific case and then adding it as a parameter to the tests we already have (first and second). |
Thanks for pointing me to the tests. I'll update the PR with them. |
Added a new mock fixture (sorry for the verbose name, suggestions welcome), and then I added it to the two parameterised tests. I can't seem to check the CI outputs attached to this PR below. I am new to GitHub Actions ... is there a way for me to get the test running in GitHub without having to set everything up on my laptop? |
Hi @motjuste, we discussed this issue with our team internally and decided that we should start allowing PRs from external forks to run workflows (issue canonical/bundle-kubeflow#764). We will look to implement this in the near future but at the moment, this is not possible (for security reasons as mentioned in the issue). For that reason, we will hold this PR until that issue is resolved, so we can properly test and merge it. Once again, thank you for taking the time to contribute to our project. |
svc.status.loadBalancer.ingress
has been observed to returnNone
in certain situations and leads to failure of theingress-relation-created
hook. This change handles theNone
and treats the situation as if no ingresses are present.