squakez commented on issue #3396: URL: https://github.com/apache/camel-k/issues/3396#issuecomment-1166987150
Resource field is deprecated since a while (https://github.com/apache/camel-k/commit/a73dce39ce2ceec9dc55492d518caac042812b67#diff-df704f21201b6d30fe851b7bee054f77855f8b5720e77d93e8462fffb9c71cb3) and will be soon removed. Instead you should use configmap or secret. As you can see in your code, the resource is converted into a configmap automatically for you and exported as: ``` resources: - configmap:cm-05e3ce58d0d145de025ad919cf0b763216b88cf5/composition.jslt@/etc/camel/resources/composition.jslt - configmap:cm-2298cb03631fddcc33ab4d3832953f3e535d37b2/patient.jslt@/etc/camel/resources/patient.jslt ``` However, for portability this is not good. In such case you need to use configmap on your own. -- 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