-
Notifications
You must be signed in to change notification settings - Fork 244
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
Refactor catalog list services #4338
Refactor catalog list services #4338
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dharmit The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
All failures are attributed to the same error:
I see the same error when I try to run odo is failing to list resources of type So, as far as OCP and Service Catalog is concerned, I'm getting inclined towards silently ignoring this error. The idea is to support SC smoothly on minikube/k8s. Will update the PR accordinlgly. |
/retest |
CI failures attributed to #4347 /retest |
Failure log indicates that After Debugging.
|
/test v4.6-integration-e2e |
/lgtm |
/retest Please review the full test history for this PR and help us cut down flakes. |
3 similar comments
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
What type of PR is this?
/kind code-refactoring
What does this PR do / why we need it:
This PR refactors the underlying code for
odo catalog list services
. It makes the code more readable.We need this because odo will be supporting both Operator Hub as well as Service Catalog backends to let users spin up services from. This PR removes
if..else
blocks and various variables that made the code quite confusing.Which issue(s) this PR fixes:
Fixes NA
Part of #4298
PR acceptance criteria:
Unit test
Integration test
Documentation
I have read the test guidelines
How to test changes / Special notes to the reviewer:
Check output of
odo catalog list services
in following scenarios:minikube addons enable olm
) and install some Operator (for example install Service Binding Operator)