Skip to content
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

Add documentation for .Subcharts to the Built-In Objects documentation #1456

Open
njiang747 opened this issue Apr 26, 2023 · 3 comments
Open

Comments

@njiang747
Copy link

As of Helm 3.7, .Subcharts.<subchart_name> exposes the scope of a subchart (including .Values, .Chart, .Releases, etc.) to the parent (see helm/helm#9957).

It would be great to document this on https://helm.sh/docs/chart_template_guide/builtin_objects since it doesn't seem to be available anywhere in the documentation.

Thanks!

@EvanCarroll
Copy link

EvanCarroll commented May 5, 2023

This would be great. It would be nice to know how to access dependency information of a subchart. This would allow us to receive things like their default password and credentials, rather than having to compute and set from parent.

I also didn't see any tests in the repo that have a string for .Subchart seems the functionality is very young.

@remram44
Copy link

Wow, this is exactly what I need. How can a feature exist and not be documented for a year?

What the hell does .Subcharts do exactly? Does it include .Values.global?

@remram44
Copy link

Nevermind "a year", this is the solution to a 6 year old issue (helm/helm#3920) that was implemented 3 years ago (helm/helm#9957). Yet it has been kept completely hidden.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants