Allow an empty Certificate setting [#29]
I just plain misunderstood how kubernetes CAs worked!
This commit is contained in:
@@ -50,9 +50,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"
|
||||
|
||||
Reference in New Issue
Block a user