diff --git a/pkg/install/install.go b/pkg/install/install.go index b5653a2a..7c868f1c 100644 --- a/pkg/install/install.go +++ b/pkg/install/install.go @@ -111,6 +111,9 @@ type ( // NamespacesList returns list of the namespaces that everest can operate in. func (c Config) NamespacesList() []string { + if len(c.Namespaces) == 0 { + return []string{} + } return strings.Split(c.Namespaces, ",") }