Signed-off-by: Bobby DeSimone <bobbydesimone@gmail.com>
pull/7380/head
Bobby DeSimone 6 years ago
parent 84d6995349
commit 3f4dcd9758
No known key found for this signature in database
GPG Key ID: AEE4CF12FE86D07E

@ -142,7 +142,7 @@ func addInstallFlags(f *pflag.FlagSet, client *action.Install, valueOpts *values
f.BoolVar(&client.Atomic, "atomic", false, "if set, installation process purges chart on fail. The --wait flag will be set automatically if --atomic is used") f.BoolVar(&client.Atomic, "atomic", false, "if set, installation process purges chart on fail. The --wait flag will be set automatically if --atomic is used")
f.BoolVar(&client.SkipCRDs, "skip-crds", false, "if set, no CRDs will be installed. By default, CRDs are installed if not already present") f.BoolVar(&client.SkipCRDs, "skip-crds", false, "if set, no CRDs will be installed. By default, CRDs are installed if not already present")
f.BoolVar(&client.SubNotes, "render-subchart-notes", false, "if set, render subchart notes along with the parent") f.BoolVar(&client.SubNotes, "render-subchart-notes", false, "if set, render subchart notes along with the parent")
f.StringVarP(&client.ReleaseName, "name", "", "", "The release name (and omit NAME parameter)") f.StringVarP(&client.ReleaseName, "name", "", "", "the release name (and omit NAME parameter)")
addValueOptionsFlags(f, valueOpts) addValueOptionsFlags(f, valueOpts)
addChartPathOptionsFlags(f, &client.ChartPathOptions) addChartPathOptionsFlags(f, &client.ChartPathOptions)
} }

@ -553,7 +553,7 @@ func (i *Install) NameAndChart(args []string) (string, string, error) {
return errors.New("cannot set --name-template and also specify a name") return errors.New("cannot set --name-template and also specify a name")
} }
if i.ReleaseName != "" { if i.ReleaseName != "" {
return errors.New("cannot set --name and also specify specify a name argument") return errors.New("cannot set --name and also specify a name argument")
} }
return nil return nil
} }

Loading…
Cancel
Save