Simon I
Simon I

Reputation: 3586

`helm upgrade --name` results in "Error: unknown flag: --name"

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?

Upvotes: 6

Views: 6549

Answers (1)

Simon I
Simon I

Reputation: 3586

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.

Upvotes: 11

Related Questions