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
$ helm template bar -x templates/NOTES.txt --notes
---
# Source: bar/templates/NOTES.txt
1. Get the application URL by running these commands:
export POD_NAME=$(kubectl get pods --namespace default -l "app.kubernetes.io/name=bar,app.kubernetes.io/instance=release-name" -o jsonpath="{.items[0].metadata.name}")
echo "Visit http://127.0.0.1:8080 to use your application"
kubectl port-forward $POD_NAME 8080:80
Reacted by Bob Bui, Yann Ponzoni, SUBHASIS PRATIHARI, Erik Sundell, Richard Cox, Jeffrey Lewis, Tim Ebert, Martin Helmich, Charles Moulliard, Mikhail Advani and 28 more
@vainikkaj Good catch. This looks like it might have been a regression. It seems to have been removed in #5365. @bacongobbler Was this by design or unintentionally?
@bacongobbler Sorry but due to some unexpected events, I have unable to get push it. After talking on slack, I will leave it to you as you said you might get it in.
I tried to fix this but found a nuance we need to talk about first. This is why I'm moving it to 3.1.0.
In Helm v2 when running helm template with the --notes flag it generates the notes for that chart and all sub-charts. Each is separated like the YAML parts are and the individual source is noted.
In Helm v2 when running helm install with the --render-subchart-notes all of the notes are combined into one output. For example, if you installed stable/wordpress using that flag the mariadb and wordpress notes would be back to back with no separator. Personally, I find this to be a confusing UX. I only noticed it now because I don't tend to use the --render-subchart-notes flag.
In Helm v3 the rendering process was based around the install process rather than a separate flow like Helm v2. In a deeply nested part of Helm the notes are generated and separated from the other manifests. If the sub-chart notes are rendered they are all combined the way helm v2 install presents them.
This means we have lost the ability to render each of the notes output as a separate file for helm template. The feature will not be exactly the same for v3.
I have some questions I would like feedback on...
What, if any, are the impacts of rendering one notes output instead of each of the subcharts separately?
Should there be headings between each of the charts/sub-charts when rendering notes? This would affect both helm template and helm install (and other commands)
On helm template should the sub-chart notes be hidden behind an addition flag like they are on helm install?
Feedback on this is appreciated so that we can make sure the experience provided by showing notes works moving forward.
--render-subcharts-notes does not belong on helm template. It didn’t make sense in Helm 3, it doesn’t make sense in Helm 4, and keeping it around only preserves confusion, not compatibility.
helm template has a very clear contract: render Kubernetes manifests. Its output is expected to be machine-consumable YAML, often piped directly into tools like kubectl or kustomize.
NOTES.txt is explicitly outside that contract. It exists to print human-readable guidance after helm install or helm upgrade. While it supports templating, it is not intended to produce Kubernetes resources.
These two concerns don’t overlap.
If the goal is to preview NOTES output, Helm already supports that via helm install / helm upgrade --dry-run (client or server), including subchart notes. For existing releases, helm get notes has long covered this use case.
The Rancher workaround mentioned earlier is obsolete and no longer reflects how Helm is used today.
The ArgoCD use case mentioned earlier is not applicable to helm template. As Argo maintainer said in argoproj/argo-cd#4733 (comment):
How does helm template produce the output of notes since it's only supposed to produce apply-able YAML?
So the issue here isn’t that Helm lacks a way to preview NOTES output, it's that a flag with no meaningful behavior still shows up in helm template help, implying a use case that doesn’t actually exist. As such, this should be closed as not a bug / wontfix, with a follow-up to deprecate and hide the flag from helm template.
As an alternative I am now using gotpl which provides direct go templating. The code of that github project is very simple, if you would need more helm functions it would not be difficult to extend.
Generating NOTES.txt can be done using a values.yaml or on the CLI. For instance:
Activity
hickeyma commentedon Nov 7, 2019
@vainikkaj Good catch. This looks like it might have been a regression. It seems to have been removed in #5365. @bacongobbler Was this by design or unintentionally?
hickeyma commentedon Nov 7, 2019
@bacongobbler If unintentional, I'll push a PR for it.
bacongobbler commentedon Nov 7, 2019
this might've been an unintentional regression.
hickeyma commentedon Nov 7, 2019
ok, will push a pr later or tomorrow morning
bacongobbler commentedon Nov 11, 2019
Hey @hickeyma, do you think you'll have time to look into this before we cut 3.0? If not we should probably move this over to 3.1. Thanks!
vainikkaj commentedon Nov 11, 2019
I'm keeping my fingers crossed for 3.0 fix 😃
hickeyma commentedon Nov 12, 2019
@bacongobbler Sorry but due to some unexpected events, I have unable to get push it. After talking on slack, I will leave it to you as you said you might get it in.
mattfarina commentedon Nov 12, 2019
I tried to fix this but found a nuance we need to talk about first. This is why I'm moving it to 3.1.0.
In Helm v2 when running
helm templatewith the--notesflag it generates the notes for that chart and all sub-charts. Each is separated like the YAML parts are and the individual source is noted.In Helm v2 when running
helm installwith the--render-subchart-notesall of the notes are combined into one output. For example, if you installedstable/wordpressusing that flag the mariadb and wordpress notes would be back to back with no separator. Personally, I find this to be a confusing UX. I only noticed it now because I don't tend to use the--render-subchart-notesflag.In Helm v3 the rendering process was based around the install process rather than a separate flow like Helm v2. In a deeply nested part of Helm the notes are generated and separated from the other manifests. If the sub-chart notes are rendered they are all combined the way helm v2 install presents them.
This means we have lost the ability to render each of the notes output as a separate file for
helm template. The feature will not be exactly the same for v3.I have some questions I would like feedback on...
helm templateandhelm install(and other commands)helm templateshould the sub-chart notes be hidden behind an addition flag like they are onhelm install?Feedback on this is appreciated so that we can make sure the experience provided by showing notes works moving forward.
72 remaining items
TerryHowe commentedon Sep 18, 2025
This won't make v3, so I changed the label to v4
feat(template): Add --notes flag
feat(template): Add --notes flag
feat(template): Add --notes flag
feat(template): Add --notes flag
scottrigby commentedon Jan 22, 2026
--render-subcharts-notesdoes not belong onhelm template. It didn’t make sense in Helm 3, it doesn’t make sense in Helm 4, and keeping it around only preserves confusion, not compatibility.helm templatehas a very clear contract: render Kubernetes manifests. Its output is expected to be machine-consumable YAML, often piped directly into tools like kubectl or kustomize.NOTES.txtis explicitly outside that contract. It exists to print human-readable guidance afterhelm installorhelm upgrade. While it supports templating, it is not intended to produce Kubernetes resources.These two concerns don’t overlap.
If the goal is to preview NOTES output, Helm already supports that via
helm install/helm upgrade --dry-run(client or server), including subchart notes. For existing releases,helm get noteshas long covered this use case.The Rancher workaround mentioned earlier is obsolete and no longer reflects how Helm is used today.
The ArgoCD use case mentioned earlier is not applicable to
helm template. As Argo maintainer said in argoproj/argo-cd#4733 (comment):So the issue here isn’t that Helm lacks a way to preview NOTES output, it's that a flag with no meaningful behavior still shows up in
helm templatehelp, implying a use case that doesn’t actually exist. As such, this should be closed as not a bug / wontfix, with a follow-up to deprecate and hide the flag fromhelm template.ErikEngerd commentedon Feb 5, 2026
As an alternative I am now using gotpl which provides direct go templating. The code of that github project is very simple, if you would need more helm functions it would not be difficult to extend.
Generating NOTES.txt can be done using a values.yaml or on the CLI. For instance:
This would effectively use values.yaml with overrides