diff --git a/plugin/plugin.go b/plugin/plugin.go index 80232fb..5e3bd3a 100644 --- a/plugin/plugin.go +++ b/plugin/plugin.go @@ -162,7 +162,7 @@ func setHelmCommand(p *Plugin) { } -var repoExp = regexp.MustCompile(`^(?P[\w-]+)=(?P(http|https)://[\w-./:]+)`) +var repoExp = regexp.MustCompile(`^(?P[\w-]+)=(?P(http|https)://[\w-./:@-]+)`) // parseRepo returns map of regex capture groups (name, url) func parseRepo(repo string) (map[string]string, error) {