DodoApp: Persist app namespaces in the config repository

Change-Id: I6bb6231ff63a4cfa8b66aa75c3d4cc1d9985d389
diff --git a/core/installer/app_manager.go b/core/installer/app_manager.go
index d3b64ab..0930356 100644
--- a/core/installer/app_manager.go
+++ b/core/installer/app_manager.go
@@ -310,6 +310,9 @@
 	if o.Force {
 		dopts = append(dopts, soft.WithForce())
 	}
+	if o.NoLock {
+		dopts = append(dopts, soft.WithNoLock())
+	}
 	return ReleaseResources{}, repo.Do(func(r soft.RepoFS) (string, error) {
 		if err := r.RemoveDir(appDir); err != nil {
 			return "", err
@@ -596,6 +599,7 @@
 	LG                   LocalChartGenerator
 	FetchContainerImages bool
 	Force                bool
+	NoLock               bool
 }
 
 type InstallOption func(*installOptions)
@@ -636,6 +640,12 @@
 	}
 }
 
+func WithNoLock() InstallOption {
+	return func(o *installOptions) {
+		o.NoLock = true
+	}
+}
+
 // InfraAppmanager
 
 type InfraAppManager struct {