Helm how to define .Release.Name value
Solution 1:
This depends on what version of Helm you have; helm version
can tell you this.
In Helm version 2, it's the value of the helm install --name
parameter, or absent this, a name Helm chooses itself. If you're checking what might be generated via helm template
that also takes a --name
parameter.
In Helm version 3, it's the first parameter to the helm install
command. Helm won't generate a name automatically unless you explicitly ask it to helm install --generate-name
. helm template
also takes the same options.
Also, in helm 3, if you want to specify a name explicitly, you should use the --name-template
flag. e.g. helm template --name-template=dummy
in order to use the name dummy
instead of RELEASE-NAME