squakez opened a new pull request #2355:
URL: https://github.com/apache/camel-k/pull/2355


   <!-- Description -->
   
   With this PR we are refactoring the original `--resource` flag to behave 
similarly of what we've done with `--config`.
   
   `kamel run --resource 
[configmap|secret|file]:resourceName[@/path/to/destination]`
   
   The difference is that the `--resource` will allow the user to provide any 
kind of file (also binary files) and those files won't be considered as 
properties file by the `Integration` runtime.
   
   * Added support for `Configmap`s and `Secret`s
   * Mantained compatibility with `--resource /path/to/file` (though, it is 
marked as deprecated for future removal)
   * Support for `@/path/` to let the user chose where the resource (file, 
secret or configmaps) will be mounted
   * Modeline support verified
   * File size limitation to 1MB introduced
   * Support for all local file synchronization
   * Updated `CRD`s to specify resources type (`config` or `resource`) and 
destination path
   * Examples
   * E2E integration tests
   
   Ref #2003 
   
   <!--
   Enter your extended release note in the below block. If the PR requires
   additional action from users switching to the new release, include the string
   "action required". If no release note is required, write "NONE". 
   
   You can (optionally) mark this PR with labels "kind/bug" or "kind/feature" 
to make sure
   the text is added to the right section of the release notes. 
   -->
   
   **Release Note**
   ```release-note
   feat(cmd/run): resource option refactoring 
   ```
   


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