chetanmeh commented on issue #4308: How can I pass specific environment 
variables in invokers to actions to be invoked?
URL: 
https://github.com/apache/incubator-openwhisk/issues/4308#issuecomment-467742813
 
 
   To set custom env for launched runtime container you need to set the 
`extra-args` 
https://github.com/apache/incubator-openwhisk/blob/master/core/invoker/src/main/resources/application.conf#L70-L77
   
   You can set it that either by passing a custom config file (see #4039) or by 
setting env in deploy.yml like
   
   ```
   CONFIG_whisk_containerFactory_containerArgs_extraArgs_env_foo=bar
   ```
   
   For the second approach I am not sure if its possible to set an env having 
`_` in it. So passing it via config file approach may be the only option

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to