AppManager: cache helm charts and container images to local registry
Caching container images is disabled until we figure out how to run
container registry behind TLS.
Change-Id: I0253f2a862e5adddff18a82b102f67258151c070
diff --git a/core/installer/welcome/welcome.go b/core/installer/welcome/welcome.go
index 64f4cf1..7688d50 100644
--- a/core/installer/welcome/welcome.go
+++ b/core/installer/welcome/welcome.go
@@ -30,6 +30,7 @@
port int
repo soft.RepoIO
nsCreator installer.NamespaceCreator
+ hf installer.HelmFetcher
createAccountAddr string
loginAddr string
membershipsInitAddr string
@@ -39,6 +40,7 @@
port int,
repo soft.RepoIO,
nsCreator installer.NamespaceCreator,
+ hf installer.HelmFetcher,
createAccountAddr string,
loginAddr string,
membershipsInitAddr string,
@@ -47,6 +49,7 @@
port,
repo,
nsCreator,
+ hf,
createAccountAddr,
loginAddr,
membershipsInitAddr,
@@ -205,8 +208,9 @@
http.Error(w, err.Error(), http.StatusInternalServerError)
return
}
+ // TODO(gio): remove this once auto user sync is implemented
{
- appManager, err := installer.NewAppManager(s.repo, s.nsCreator, "/apps")
+ appManager, err := installer.NewAppManager(s.repo, s.nsCreator, nil, s.hf, "/apps")
if err != nil {
http.Error(w, err.Error(), http.StatusInternalServerError)
return