-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Respect requirements.yaml in helm operator #1278
Comments
+1 We're facing this issue as well. We'd like for the chart dependencies in the requirements.yaml to be downloaded automatically. At the moment we're providing a reference to the public chart repository in the requirements.yaml but that doesn't download, and we seem to need to include the chart within our flux release repo. requirements.yaml snippet:
|
Is this issue a duplicate of #1131 ? |
Hi @stephenmoloney yes my use case seems to be the same as in #1131 |
+1 |
#1131 is for being able to refer to a chart from a Helm repo, in a FluxHelmRelease, and have that installed. |
In the case of charts from git, I think it's reasonable to expect the helm operator to (optionally) get the dependencies before applying. I'm not sure whether it makes more sense to have this as a command-line switch, or specify it per FluxHelmRelease. |
Why should this be optional? Specified dependencies should be always resolved. |
@dbluxo Sometimes the dependency isn't used. A good example is a chart that depends on some sort of DB, but allow you to use your own. I guess it doesn't hurt always resolving the dependency, even in situations where you do not use it, to avoid complexity in Flux. |
I understand, good point. So I would prefer that the dependencies will be resolved as default. Having the possibility to turn it off via FluxHelmRelease. |
Charts can come with dependencies: https://docs.helm.sh/developing_charts/#chart-dependencies
I believe the Helm CLI deals with these dependencies -- either downloading the charts from the repository given, or grabbing them from the fileystem before sending to Tiller.
We should come up with a sensible way to let people use the dependency management with the helm operator.
The text was updated successfully, but these errors were encountered: