Skip to content

Commit

Permalink
Merge pull request #11490 from learnitall/pr/learnitall/allow-csv-api…
Browse files Browse the repository at this point in the history
…-versions

Add support for CSVs in template --api-versions arg
  • Loading branch information
mattfarina committed Jan 9, 2023
2 parents 84485da + 5aa316e commit 946967f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/helm/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ func newTemplateCmd(cfg *action.Configuration, out io.Writer) *cobra.Command {
f.BoolVar(&skipTests, "skip-tests", false, "skip tests from templated output")
f.BoolVar(&client.IsUpgrade, "is-upgrade", false, "set .Release.IsUpgrade instead of .Release.IsInstall")
f.StringVar(&kubeVersion, "kube-version", "", "Kubernetes version used for Capabilities.KubeVersion")
f.StringArrayVarP(&extraAPIs, "api-versions", "a", []string{}, "Kubernetes api versions used for Capabilities.APIVersions")
f.StringSliceVarP(&extraAPIs, "api-versions", "a", []string{}, "Kubernetes api versions used for Capabilities.APIVersions")
f.BoolVar(&client.UseReleaseName, "release-name", false, "use release name in the output-dir path.")
bindPostRenderFlag(cmd, &client.PostRenderer)

Expand Down

0 comments on commit 946967f

Please sign in to comment.