-
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
allow linking using ServiceBinding without ServiceBindingOperator #4543
Comments
I've done a small POC based on the changes introduced in redhat-developer/service-binding-operator#919 Thanks to the changes in that PR it is possible to easily create binding without an operator. mgr, _ := ctrl.NewManager(ctrl.GetConfigOrDie(), ctrl.Options{
Scheme: runtime.NewScheme(),
})
out, _ := json.MarshalIndent(o.serviceBinding, " ", " ")
fmt.Printf("%s\n", string(out))
pipeline := builder.DefaultBuilder.WithContextProvider(context.Provider(o.KClient.DynamicClient, context.ResourceLookup(mgr.GetRESTMapper()))).Build()
repeat, err := pipeline.Process(o.serviceBinding)
// you can read secret name from the passed service binding... Status.Secret
// for unbind the passed service binding instance must have deletetion timestamp set
out2, _ := json.MarshalIndent(o.serviceBinding, " ", " ")
fmt.Printf("%s\n", string(out2))
fmt.Println(repeat)
fmt.Println(err) |
there is a complexity in writing tests ( we install SBO cluster wide so we cannot write test for testing this feature) so we would expose an env variable to skip the SBO's usage. maybe |
We can skip SBO installation on minikube and so all tests would use this feature |
|
This was solved only partially. |
Goal
For developer to be able to link components and applications without the service binding operator having to be installed (self-service)
Acceptance Criteria
odo link <service-name>
should work without having Service Binding Operator installedodo link <component-name>
should work without having Service Binding Operator installedodo unlink
should work correctly with links that don't use Service Binding Operatorodo describe
should work correctly (displaying links, evns etc...) with links that don't use Service Binding OperatorDependencies
Need access to the service binding library in order for this work to begin.JIRA Epic Tracking
ODO-59
The text was updated successfully, but these errors were encountered: