diff --git a/cmd/helm/root.go b/cmd/helm/root.go index 23fe9d806..4d2f5a466 100644 --- a/cmd/helm/root.go +++ b/cmd/helm/root.go @@ -162,7 +162,7 @@ func newRootCmd(actionConfig *action.Configuration, out io.Writer, args []string // those errors will be caught later during the call to cmd.Execution. // This call is required to gather configuration information prior to // execution. - flags.ParseErrorsWhitelist.UnknownFlags = true + flags.ParseErrorsAllowlist.UnknownFlags = true flags.Parse(args) registryClient, err := newDefaultRegistryClient(false, "", "")