When running helm upgrade --install --namespace $PROJECT_NAMESPACE --values values.yaml --name $SOME_NAME some/chart
.
I get Error: unknown flag: --name
.
Is there no way to set the name of a chart you are targeting with upgrade
? Is this only possible for install
?
Just 2 steps: find and replace the name in the chart files. rename chart directory name.
To perform a helm release upgrade using the CLI, run the following command provided: helm upgrade <release name> <chart directory> -f my-values. yaml using the configuration specified in the customized values. yaml file. After a successful upgrade, the helm will return the following message.
When a new version of a chart is released, or when you want to change the configuration of your release, you can use the helm upgrade command. An upgrade takes an existing release and upgrades it according to the information you provide.
If we do an edit on the code and commit the changes (then of course rebuild the image), it does get deployed. helm upgrade --install (as stated in the doc) doesn't restart the pod (or redeploy) a version that already exists.
The solution was that no --name
was needed.
The syntax for a Helm Upgrade is "helm upgrade [RELEASE] [CHART]"
, so the "RELEASE" is the same as what would be the --name
in a Helm Install.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With