chetanmeh commented on issue #4690: Pod template support with 
KubernetesContainerFactory
URL: https://github.com/apache/openwhisk/pull/4690#issuecomment-542528986
 
 
   Added support to enable reading template value from file (see updated doc in 
PR)
   
   ```
   whisk {
     kubernetes {
       pod-template = "file:/pod-template.yaml"
     }
   }
   ```
   
   So if `pod-template` value is
   
   1. File reference - String representing a file uri 
`file:/path/to/template.yaml` then its content would be read and used as value
   2. Env variable - `pod-template = ${WHISK_POD_TEMPLATE}` then TypeSafe 
config would internally read its value and use that
   3. Literal inline yaml - Else its value would be considered as a literal 
yaml value
   
   @dgrove-oss @mcdan Does above implemented approach looks fine?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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