From 14e277f683775e54b9264f4ef847d31cc59e7a3d Mon Sep 17 00:00:00 2001 From: Michal Jura Date: Wed, 17 Aug 2022 13:22:34 +0200 Subject: [PATCH] Bring back --set flag to apply subcommand We would like to add back --set flag to apply subcommand, which was accidentally removed after switching to cobra (#234) Signed-off-by: Michal Jura --- cmd/apply.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/apply.go b/cmd/apply.go index 0eb2cd01..e38c5b24 100644 --- a/cmd/apply.go +++ b/cmd/apply.go @@ -31,6 +31,7 @@ func NewApplyCmd(globalCfg *config.GlobalImpl) *cobra.Command { } f := cmd.Flags() + f.StringSliceVar(&applyImpl.ApplyOptions.Set, "set", nil, "additional values to be merged into the command") f.StringSliceVar(&applyImpl.ApplyOptions.Values, "values", nil, "additional value files to be merged into the command") f.IntVar(&applyImpl.ApplyOptions.Concurrency, "concurrency", 0, "maximum number of concurrent helm processes to run, 0 is unlimited") f.BoolVar(&applyImpl.ApplyOptions.Validate, "validate", false, "validate your manifests against the Kubernetes cluster you are currently pointing at. Note that this requires access to a Kubernetes cluster to obtain information necessary for validating, like the list of available API versions")