Always use the default kubeconfig file path [#20]
This commit is contained in:
@@ -33,7 +33,7 @@ func (u *Upgrade) Prepare(cfg Config) error {
|
||||
return fmt.Errorf("release is required")
|
||||
}
|
||||
|
||||
args := []string{"--kubeconfig", cfg.KubeConfig}
|
||||
args := make([]string, 0)
|
||||
|
||||
if cfg.Namespace != "" {
|
||||
args = append(args, "--namespace", cfg.Namespace)
|
||||
|
||||
Reference in New Issue
Block a user