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/tasks/env.go b/core/installer/tasks/env.go
index a38e5b1..20528a3 100644
--- a/core/installer/tasks/env.go
+++ b/core/installer/tasks/env.go
@@ -15,6 +15,8 @@
type state struct {
infoListener EnvInfoListener
nsCreator installer.NamespaceCreator
+ jc installer.JobCreator
+ hf installer.HelmFetcher
dnsFetcher installer.ZoneStatusFetcher
httpClient http.Client
dnsClient dns.Client
@@ -34,6 +36,8 @@
func NewCreateEnvTask(
env installer.EnvConfig,
nsCreator installer.NamespaceCreator,
+ jc installer.JobCreator,
+ hf installer.HelmFetcher,
dnsFetcher installer.ZoneStatusFetcher,
httpClient http.Client,
dnsClient dns.Client,
@@ -45,6 +49,8 @@
st := state{
infoListener: infoListener,
nsCreator: nsCreator,
+ jc: jc,
+ hf: hf,
dnsFetcher: dnsFetcher,
httpClient: httpClient,
dnsClient: dnsClient,