-
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
Need create ClusterRole for SBO v0.10.0 #5096
Comments
For using SBO to link redis also have this issue, also need create ClusterRole for redis-operatot |
Hi, @dharmit Thanks for your reply, " using Service Binding library as default" what this mean? could you give me some guide for this? maybe I can try it. Thank you. |
odo has added dependency to the service binding library so that if a user doesn't have service binding operator installed on their cluster, |
OK. So I can use odo link directly without install SBO on my cluster. Thank you. |
@dharmit |
0.9.0
Good question and observation! I'll take a look into that and fix that. |
Thanks for your reply. @valaparthvi Another question is about https://odo.dev/docs/tutorials/deploying-java-app-with-database, mainly for ClusterRole part, maybe need similar change like: https://openliberty.io/blog/2021/09/17/binding-app-to-postgresql-db-with-odo-and-ol-stack.html. |
@valaparthvi @dharmit hello, from user side, what the difference between using service binding binary and SBO? and do you know the advantages for SBO and service binding binary when do odo linking ? I didn't find any doc about service binding binary both in odo and SBO, but I want to know the benefit for using SBO or service binding binary... could you help to give me some info or link about this question? Thank you very much. |
I got from you when user don't have permission to link SBO due to the SBO0.10.0's new feature, but
|
We haven't modified Lines 30 to 35 in 5f79c54
I don't understand what you are asking here.
Using SBO vs. library gives you the benefit that SBO can modify your underlying link (
It's the library, not the binary. The way odo uses it is by putting it in go.mod: Line 41 in 5f79c54
In my understanding, using Operator is better than using the library. But in odo we are using the library to ensure stability of
Yeah, maybe the advantages/disadvantages of using Operator vs. library can be best explained by them. For odo, temporarily moving to using library helped ensure that |
there is no |
/kind bug
What versions of software are you using?
Operating System:
Output of
odo version
:OCP: 4.8
SBO: 0.10.0
odo: main branch
postgresql: 0.1.1
How did you run odo exactly?
Actual behavior
after run
odo link Database/sampledatabase
,odo push --show-log
failedExpected behavior
About https://github.com/redhat-developer/service-binding-operator/releases/tag/v0.10.0, here mention "In order to enable the operator to perform binding to custom service resource, an additional cluster role must be added to the cluster."
When doing https://odo.dev/docs/tutorials/deploying-java-app-with-database, we also need create CluserRole to ensure this doc can successfully:
I expected: 1. if need add doc for https://odo.dev/docs/tutorials/deploying-java-app-with-databas. 2. if need add create ClusterRole yaml in scripts setup-operators.sh. 3. other better way or need changes about ClusterRole
Any logs, error output, etc?
The text was updated successfully, but these errors were encountered: