diff --git a/.env b/.env index f125bc4e..65a00b0b 100755 --- a/.env +++ b/.env @@ -71,7 +71,7 @@ SHUFFLE_BASE_IMAGE_REPOSITORY=frikky # For environments using their own docker registry # where they don't want to update http, subflow and shuffle tools again -SHUFFLE_USE_DOCKERHUB_FOR_AUTODEPLOY=true +SHUFFLE_USE_GCHR_OVERRIDE_FOR_AUTODEPLOY=true # The eth0 interface inside a container corresponds # to the virtual Ethernet interface that connects diff --git a/functions/onprem/orborus/orborus.go b/functions/onprem/orborus/orborus.go index 790180da..5e3a92ef 100755 --- a/functions/onprem/orborus/orborus.go +++ b/functions/onprem/orborus/orborus.go @@ -966,7 +966,7 @@ func deployK8sWorker(image string, identifier string, env []string) error { env = append(env, fmt.Sprintf("REGISTRY_URL=%s", os.Getenv("REGISTRY_URL"))) } - if len(os.Getenv("SHUFFLE_USE_DOCKERHUB_FOR_AUTODEPLOY")) > 0 { + if len(os.Getenv("SHUFFLE_USE_GCHR_OVERRIDE_FOR_AUTODEPLOY")) > 0 { env = append(env, fmt.Sprintf("SHUFFLE_USE_DOCKERHUB_FOR_AUTODEPLOY=%s", os.Getenv("SHUFFLE_USE_DOCKERHUB_FOR_AUTODEPLOY"))) } diff --git a/functions/onprem/worker/worker.go b/functions/onprem/worker/worker.go index a05005da..37689e11 100644 --- a/functions/onprem/worker/worker.go +++ b/functions/onprem/worker/worker.go @@ -433,7 +433,7 @@ func deployk8sApp(image string, identifier string, env []string) error { } } - autoDeployOverride := os.Getenv("SHUFFLE_USE_DOCKERHUB_FOR_AUTODEPLOY") == "true" + autoDeployOverride := os.Getenv("SHUFFLE_USE_GCHR_OVERRIDE_FOR_AUTODEPLOY") == "true" localRegistry := ""