doru1004 commented on pull request #1827:
URL: https://github.com/apache/camel-k/pull/1827#issuecomment-738299755


   I have also added the capability to include environment variable in modeline 
options:
   
   test.yaml
   ```
   # camel-k: property=camel.component.slack.webhookUrl=${SLACK_WEBHOOK}
   ```
   
   When the modeline option is extracted, it will be added to the command line 
like this:
   
   ```
   kamel local run 
--property=camel.component.slack.webhookUrl=hooks.slack.com/AAA/BBB/CCC
   ```
   
   If the variable is not exported or has no value an error will be thrown.


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to