fix: dont sent RegistryLogin password via args (#1662)

This commit is contained in:
Cameron Braid 2021-01-29 11:05:03 +11:00 committed by GitHub
parent 8212b630ff
commit 8487970a2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -166,8 +166,7 @@ func (helm *execer) RegistryLogin(repository string, username string, password s
repository,
"--username",
username,
"--password",
password,
"--password-stdin",
}
buffer := bytes.Buffer{}
buffer.Write([]byte(fmt.Sprintf("%s\n", password)))