list of service binding and added binding using oc - #6000
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #6000 +/- ##
===========================================
+ Coverage 32.37% 50.86% +18.49%
===========================================
Files 85 116 +31
Lines 6505 10635 +4130
Branches 1349 2394 +1045
===========================================
+ Hits 2106 5410 +3304
- Misses 4399 5222 +823
- Partials 0 3 +3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
b024e55 to
d6c0788
Compare
3f69a54 to
932a51f
Compare
|
SBO Migration Required PR #6000 brings the service binding feature back by:
However, the current implementation still depends on the Service Binding Operator (SBO) for two critical functions:
SBO was deprecated in February 2024. Testing revealed that SBO's BindableKinds does not auto-discover operators that implement the Provisioned Service pattern (e.g., CloudNativePG), even when both SBO and the This means the binding feature restored in this PR is effectively non-functional on clusters where operators don't explicitly register themselves with SBO via CSV descriptors — which includes most modern This PR does not resolve #4682 — Make "Bind Service" feature to use servicebinding.io API instead of the deprecated Service Binding Operator. It removes the odo dependency and restores the infrastructure, but Next step: Replace SBO-based discovery and binding with pure K8s API operations:
This eliminates the SBO dependency entirely and supports any operator that implements the Provisioned Service pattern. |
- Fix "no bindable services" check: return from addBinding(), not just the .then() callback, so the webview doesn't open with empty services - Fix wrong import: ServiceBindingFormResponse from addServiceBindingLoader - Fix singleton KubeConfig caching: create fresh KubeConfig on each call so cluster/context switches are reflected - Remove odo dependency from webview loader: pass componentName directly from ComponentWorkspaceFolder metadata - Add @clusterRequired() and @projectRequired() decorators to addBinding() Signed-off-by: Victor Rubezhny <vrubezhny@redhat.com> Assisted-By: Claude Opus 4.6 <noreply@anthropic.com>
932a51f to
ff84dc2
Compare
|
Merging as it's a good base to start migrating out of SBO |
No description provided.