Add the option to specify an alternative helm binary (#181)

`helm` may not be version compatible. Add an option to specify an alternative `helm` command on runtime, possibly according to the version of tiller running on your cluster.
This commit is contained in:
Hori Ryota
2018-07-03 22:19:02 +09:00
committed by KUOKA Yusuke
parent 88e84e5ae8
commit 9f57f8be7d
5 changed files with 57 additions and 2 deletions
+3
View File
@@ -521,6 +521,9 @@ func (helm *mockHelmExec) UpdateDeps(chart string) error {
func (helm *mockHelmExec) SetExtraArgs(args ...string) {
return
}
func (helm *mockHelmExec) SetHelmBinary(bin string) {
return
}
func (helm *mockHelmExec) AddRepo(name, repository, certfile, keyfile, username, password string) error {
helm.repo = []string{name, repository, certfile, keyfile, username, password}
return nil