File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -9,12 +9,10 @@ import (
99 "ibm.com/codeengine/cos2cos/process"
1010)
1111
12- // Note: When running the program in local env, pass false, false as cmd-line arg.
13- // Arg1: isInCodeEngine <- to load the env file from local Os.
14- // Arg2: isUsingTrustedProfile <- Works only with kubernetes cluster.
1512func main () {
1613 fmt .Println ("Starting application with Job Index:" , os .Getenv ("JOB_INDEX" ))
1714
15+ // Setting default values
1816 os .Setenv ("IBM_COS_CRTokenFilePath_PRIMARY" , "/var/run/secrets/codeengine.cloud.ibm.com/compute-resource-token/token" )
1917 os .Setenv ("IBM_COS_CRTokenFilePath_SECONDARY" , "/var/run/secrets/codeengine.cloud.ibm.com/compute-resource-token/token" )
2018 os .Setenv ("BUCKET_TIMESTAMP_FILENAME" , "last_modified_time.json" )
You can’t perform that action at this time.
0 commit comments