-
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
Helm support on odo #4236
Comments
Pulling into 2.1 milestone. This work cannot be started until the refactor work is complete. Will check back at end of January to re-evaluate status and 2.1 goal. |
an open question to the team and maybe even @gorkem? We are also in discussion about allowing an easy way to install operators ( i.e. install using admin rights ) in odo then wouldn’t someone just use a cockroach db helm based operator - install it and use it ? and our current linking feature to that operator would work upfront? |
I would say that this won't be enough. This operator uses helm internally, but it is still an operator on the outside. The point of adding Helm support to odo is to benefit from the Helm ecosystem. We want users to be able to do just |
but this a very specific chart that would only have one service which we can detect and link to - that will not be the case always. |
I would also like to ask how hard is it to convert a mysql chart to run as an operator using the "helm backed operator strategy of operator sdk"? |
The same problem applies to the operator backed services. There is nothing that would guarantee that resources created by an operator include Service.
What problem would this solve? |
+1 |
I agree with @kadel. The goal is to be able to support Helm. Helm operator instructions is a mile long, we can not expect developers to go through it because they wanted to deploy a DB during development. |
Implementation of this should not be that complicated. The first part is extending We can check the Helm source code to check how
Now we know both the Helm release name and Service. So now |
Started putting together how this should work and how it can be implemented. It looks like there might be some blockers. Need to investigate further. |
I've looked into doing linking using Service Binding Operator. The outcome of my research is that it is not possible to construct ServiceBinding in a way that would allow linking to Helm Chart. On problem is that there is no standard way how Helm Charts are exposing information about how to connect to the provided service. One way to approach this could be assuming that any The other problem is Service Binding Operator. We either need to wait for SBO to implement the necessary functionality or try to implement linking between the odo component and Helm charts ourselves inside odo. |
I would like to jump on the issue with slight different variation. Currently, ODO recognizes services as When considering adding helm it will be good to see if ODO can provide a flexible way to define what is service by using labels etc. For example
This will not only support helm but also "Other" services. |
A friendly reminder that this issue had no activity for 90 days. Stale issues will be closed after an additional 30 days of inactivity. |
/kind feature
Goal
Developers should be able to use services such as databases, caches, messaging that are installed as Helm charts to the cluster to link with their applications.
Non-goals
Ability to install helm charts using odo is not a primary goal with this enhancement.
Creating helm charts for the application developed is NOT a goal.
Use cases
In order of priority
Link a service installed using a helm chart
odo link
command should be able to link a service installed using a helm chart.List services installed using helm
odo service
command should be able to list the helm based installed services.Restore development state from devfile
odo push
should be able to restore the development environment including installation of the required helm components.Dependencies
Need some additional updates from the Service Binding Operator, which are scheduled for GA
Discussion
This enhancement purposely does not include the installation of helm charts via odo. Helm has a very comprehensive CLI and tooling that is familiar for developers. odo should not try to replace those functions provided by the helm CLI but instead complement them on a multi-container, cloud native application development scenario.
JIRA Epic Tracking
ODO-50
The text was updated successfully, but these errors were encountered: