You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, there is one variable that is always global - $ - this variable will always point to the root context.
This is misleading, as in effect, the "global scope" is limited to the scope passed to the named template. As @bacongobbler says:
"global scope" is a bit of a misnomer in this case. In actuality, the dollar sign operator refers to the root scope. In a named template, the root scope changes into the form of the input.
Reference: helm/helm#8702
https://helm.sh/docs/chart_template_guide/variables/ says:
This is misleading, as in effect, the "global scope" is limited to the scope passed to the named template. As @bacongobbler says:
It would be good if both https://helm.sh/docs/chart_template_guide/variables/ is updated to mention this, as well as mentioning this important fact in https://helm.sh/docs/chart_template_guide/named_templates/#setting-the-scope-of-a-template.
The text was updated successfully, but these errors were encountered: