getting worker image from registry

This commit is contained in:
dhaval055
2023-10-10 11:34:01 +00:00
parent 7a71b1e31d
commit a3967b7631
3 changed files with 9 additions and 1 deletions
+3 -1
View File
@@ -589,7 +589,9 @@ func deployWorker(image string, identifier string, env []string, executionReques
env = append(env, fmt.Sprintf("IS_KUBERNETES=%s", os.Getenv("IS_KUBERNETES")))
}
image = "shuffle-worker:v1" //hard coded image name to test locally
image = os.Getenv("SHUFFLE_KUBERNETES_WORKER")
log.Printf("[DEBUG] using worker image:", image)
// image = "shuffle-worker:v1" //hard coded image name to test locally
envMap := make(map[string]string)
for _, envStr := range env {