Skip to content

Commit 75e7518

Browse files
author
Miguel Varela Ramos
committed
Fix k8s env vars for TaskAPI
1 parent 57ce636 commit 75e7518

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/operator/operator/k8s.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ func getTaskEnvVars(api *spec.API, container string) []kcore.EnvVar {
653653
Value: path.Join(_emptyDirMountPath, "project"),
654654
},
655655
kcore.EnvVar{
656-
Name: "CORTEX_TASK_SPEC",
656+
Name: "CORTEX_API_SPEC",
657657
Value: config.BucketPath(api.Key),
658658
},
659659
)

0 commit comments

Comments
 (0)