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

This commit is contained in:
Cameron Braid
2021-01-29 09:05:03 +09:00
committed by GitHub
parent 8212b630ff
commit 8487970a2e
+1 -2
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)))