I've created a chart which requires a helm chart from stable/charts, lets say mongodb. Although you can define a requirements.yaml file I was wondering if it is possible to define a chart in here?
Furthermore, to make things easier (not) I need to replace some values for the mongodb chart as well. Not sure if I'm pushing the limits here to much :) It looks like a subchart relation, so it sounds possible.
The alternative, which I'm using now is to first install the stable/chart and then my custom chart. But it would be an improvement if I could reduce this to one helm
command just by adding this dependency to my custom chart
Update:
I will update this post with my findings and hopefully this will eventually lead to the solution :) The requirements.yaml
so far:
dependencies:
- name: "mongodb"
version: "4.x.x"
repository: "@stable"
import-values:
- child: default.data
parent: myimports
Not sure yet how I can use import-values
to customize mongodb, but for now I'm stuck on the following error
Error: found in requirements.yaml, but missing in charts/ directory: mongodb
Also, because I'm using stable
I'm not sure what to do with the version
field