tdiesler commented on PR #97:
URL: https://github.com/apache/camel-k-examples/pull/97#issuecomment-2125132330

   > I think you forgot to swith `resource-file-xyz` examples. You've also 
removing `resources-data` files which were used by those examples.
   
   I removed it because I thought it was deprecated ...
   
   ```
   ## Configuration Resource file (Camel-K <= 1.12.1)
   
   **These examples only work with a version of  Camel-K <= 1.12.1**
   
   These examples show the different ways you can use **resource files** to 
configure integrations.
   
   * provide properties from a resource file with `--config`
     * `config-file-route.groovy`
   
   * provide properties from a resource file with `--resource`
   * `resource-file-route.groovy`
   * `resource-file-location-route.groovy`
   * `resource-file-binary-route.groovy`
   * `resource-file-base64-route.groovy`
   ```
   
   Also when I try it I see ...
   
   ```
   $ kamel run --resource file:resources-data.txt resource-file-route.groovy 
--dev
   Error: could not match config or secret configuration as 
file:resources-data.txt
   ```
   
   Are we expecting folks to load that file content in a configmap first?


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to