-
Notifications
You must be signed in to change notification settings - Fork 350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Camel K 2.1 documentation still contains information on using local files for runtime resources despite it is no more supported #4853
Comments
Hi, The change has been made in Camel K 2.0 when deprecated kamel commands options have been removed : CAMEL K 2.0. If you want to provide a file you need to store it in a Configmap or Secret. This is why you no longer see any reference to "file:xxxx" in the documentation you are looking at. |
I think the documentation needs a major update as it is still mentioning that the "most familiar way is to handle local file". |
- remove command to deploy with a resource as it was provided only for files and this feature has been deprecated in 2.0 and removed in 2.1 - the telemetry indicates that his feature was almost never used anyway see apache/camel-k#4853 (comment) Signed-off-by: Aurélien Pupier <[email protected]>
- remove command to deploy with a resource as it was provided only for files and this feature has been deprecated in 2.0 and removed in 2.1 - the telemetry indicates that his feature was almost never used anyway see apache/camel-k#4853 (comment) Signed-off-by: Aurélien Pupier <[email protected]>
- remove command to deploy with a resource as it was provided only for files and this feature has been deprecated in 2.0 and removed in 2.1 - the telemetry indicates that his feature was almost never used anyway see apache/camel-k#4853 (comment) Signed-off-by: Aurélien Pupier <[email protected]>
- remove command to deploy with a resource as it was provided only for files and this feature has been deprecated in 2.0 and removed in 2.1 - the telemetry indicates that his feature was almost never used anyway see apache/camel-k#4853 (comment) Signed-off-by: Aurélien Pupier <[email protected]>
- remove command to deploy with a resource as it was provided only for files and this feature has been deprecated in 2.0 and removed in 2.1 - the telemetry indicates that his feature was almost never used anyway see apache/camel-k#4853 (comment) Signed-off-by: Aurélien Pupier <[email protected]>
@squakez I will fix the doc. |
- remove command to deploy with a resource as it was provided only for files and this feature has been deprecated in 2.0 and removed in 2.1 - the telemetry indicates that his feature was almost never used anyway see apache/camel-k#4853 (comment) Signed-off-by: Aurélien Pupier <[email protected]>
- remove command to deploy with a resource as it was provided only for files and this feature has been deprecated in 2.0 and removed in 2.1 - the telemetry indicates that his feature was almost never used anyway see apache/camel-k#4853 (comment) Signed-off-by: Aurélien Pupier <[email protected]>
- remove command to deploy with a resource as it was provided only for files and this feature has been deprecated in 2.0 and removed in 2.1 - the telemetry indicates that his feature was almost never used anyway see apache/camel-k#4853 (comment) Signed-off-by: Aurélien Pupier <[email protected]>
- remove command to deploy with a resource as it was provided only for files and this feature has been deprecated in 2.0 and removed in 2.1 - the telemetry indicates that his feature was almost never used anyway see apache/camel-k#4853 (comment) Signed-off-by: Aurélien Pupier <[email protected]>
Oh man. My routes use some json and velocity (.vm) files to format responses. What would be the easiest way for my Camel-K routes to reference these files? |
Not sure to understand how this comment relates to this specific issue. Would you mind opening a separate issue with all the details about your request? thanks. |
What happened?
While deploying with resource which are not config or secret file
the deployment is failing
with error:
Error: could not match config or secret configuration as file:/home/apupier/ws/single-file-without-extension-workspace/demo.camel.xml
The documentation is stating:
The runtime resources are expected to be any resource type (text or binary content).
https://camel.apache.org/camel-k/2.0.x/configuration/runtime-resources.htmlSteps to reproduce
Relevant log output
`Error: could not match config or secret configuration as file:/home/apupier/ws/single-file-without-extension-workspace/demo.camel.xml`
Camel K version
2.1.0
The text was updated successfully, but these errors were encountered: