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 1
1
import { randomUUID } from "crypto" ;
2
2
import { env as stdEnv } from "std-env" ;
3
3
import { z } from "zod" ;
4
- import { getDockerHostDomain } from "./util.js" ;
5
4
6
5
const Env = z . object ( {
7
6
// This will come from `spec.nodeName` in k8s
@@ -18,7 +17,7 @@ const Env = z.object({
18
17
. string ( )
19
18
. transform ( ( s ) => z . enum ( [ "http" , "https" ] ) . parse ( s . toLowerCase ( ) ) )
20
19
. 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
22
21
TRIGGER_WORKLOAD_API_PORT_INTERNAL : z . coerce . number ( ) . default ( 8020 ) , // This is the port the workload API listens on
23
22
TRIGGER_WORKLOAD_API_PORT_EXTERNAL : z . coerce . number ( ) . default ( 8020 ) , // This is the exposed port passed to the run controller
24
23
You can’t perform that action at this time.
0 commit comments