diff --git a/util/helm/cmd.go b/util/helm/cmd.go index 81e7dd0c6dcc4..ea1eb3f3fe5b8 100644 --- a/util/helm/cmd.go +++ b/util/helm/cmd.go @@ -342,8 +342,6 @@ type TemplateOpts struct { SkipCrds bool } -var re = regexp.MustCompile(`([^\\]),`) - func cleanSetParameters(val string) string { // `{}` equal helm list parameters format, so don't escape `,`. if strings.HasPrefix(val, `{`) && strings.HasSuffix(val, `}`) {