File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 11import { randomUUID } from "crypto" ;
22import { env as stdEnv } from "std-env" ;
33import { z } from "zod" ;
4- import { getDockerHostDomain } from "./util.js" ;
54
65const Env = z . object ( {
76 // This will come from `spec.nodeName` in k8s
@@ -18,7 +17,7 @@ const Env = z.object({
1817 . string ( )
1918 . transform ( ( s ) => z . enum ( [ "http" , "https" ] ) . parse ( s . toLowerCase ( ) ) )
2019 . default ( "http" ) ,
21- TRIGGER_WORKLOAD_API_DOMAIN : z . string ( ) . default ( getDockerHostDomain ( ) ) , // If unset, will use orchestrator-specific default
20+ TRIGGER_WORKLOAD_API_DOMAIN : z . string ( ) . optional ( ) , // If unset, will use orchestrator-specific default
2221 TRIGGER_WORKLOAD_API_PORT_INTERNAL : z . coerce . number ( ) . default ( 8020 ) , // This is the port the workload API listens on
2322 TRIGGER_WORKLOAD_API_PORT_EXTERNAL : z . coerce . number ( ) . default ( 8020 ) , // This is the exposed port passed to the run controller
2423
You can’t perform that action at this time.
0 commit comments