How to upgrade a chart if release name is defied as `${chart_name}-${chart_version}`


Will Zhou
 

In the part Charts and Versioning of Helm documentation, the release name of a chart is recommend to defied as `${chart_name}-${chart_version}`, then we use `helm install --name ${release_name}` to install the chart. When the code base of chart version is changed to ${chart_version_2}, we need to upgrade the chart with helm CLI `helm upgrade [RELEASE]`. In order to upgrade the chart, we need to use release name `${chart_name}-${chart_version}`, but it changes to the new release name `${chart_name}-${chart_version_2}`, which will result in another release installation. 
Then how to upgrade a chart if release name is defied as `${chart_name}-${chart_version}`? 
Thanks.
--

---------------------------------------------
周正喜
Mobile: 13701280947
​WeChat: 472174291

Join cncf-helm@lists.cncf.io to automatically receive all group messages.