Miaoxiang-philips commented on issue #5178:
URL: https://github.com/apache/camel-k/issues/5178#issuecomment-1968309724

   Regarding this issue, the current status:
   
   We do this by commenting in the java file:
   ```yaml
   # camel-k: dependency=mvn:io.quarkus:quarkus-jdbc-postgresql
   # camel-k: build-property=quarkus.datasource.xxx.db-kind=postgresql
   # camel-k: config=secret:<secret-name>
   # camel-k: config=file:datasource.properties
   ```
   The datasource.properties file continues to retrieve the value in Secret 
using ${PASSWORD}:
   ```
   ```
   kamel run xxx.java --dev
   ```
   quarkus.datasource.xxx.password=${PASSWORD}
   ```
   
   In this way, my requirements can be realized. Is there any other better 
scheme that can tell me? Thanks!


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