Merge branch 'master' into config-fixup

This commit is contained in:
Joachim Hill-Grannec
2019-12-26 11:36:55 -08:00
committed by GitHub
8 changed files with 204 additions and 12 deletions

View File

@@ -51,9 +51,6 @@ func (i *InitKube) Prepare(cfg Config) error {
if i.Token == "" {
return errors.New("token is needed to deploy")
}
if i.Certificate == "" && !i.SkipTLSVerify {
return errors.New("certificate is needed to deploy")
}
if i.ServiceAccount == "" {
i.ServiceAccount = "helm"