diff --git a/pkg/knuu/knuu.go b/pkg/knuu/knuu.go index 7165375..4b0a6e2 100644 --- a/pkg/knuu/knuu.go +++ b/pkg/knuu/knuu.go @@ -69,7 +69,7 @@ func InitializeWithScope(scope string) error { return fmt.Errorf("cannot initialize k8s: %s", err) } - namespace := scope + namespace := k8s.SanitizeName(scope) namespaceExists := k8s.NamespaceExists(namespace) if !namespaceExists {