Re: [I] Get environment variable value is empty in properties file [camel-k]

2024-02-27 Thread via GitHub
Miaoxiang-philips closed issue #5178: Get environment variable value is empty in properties file URL: https://github.com/apache/camel-k/issues/5178 -- 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 th

Re: [I] Get environment variable value is empty in properties file [camel-k]

2024-02-27 Thread via GitHub
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 # ca

Re: [I] Get environment variable value is empty in properties file [camel-k]

2024-02-27 Thread via GitHub
lburgazzoli commented on issue #5178: URL: https://github.com/apache/camel-k/issues/5178#issuecomment-1966178062 if a secret exists, can't you mount the secret to the integration ? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitH

Re: [I] Get environment variable value is empty in properties file [camel-k]

2024-02-27 Thread via GitHub
squakez commented on issue #5178: URL: https://github.com/apache/camel-k/issues/5178#issuecomment-1966170029 InitContainers is something we support: https://camel.apache.org/camel-k/2.2.x/traits/pod.html#_init_containers - however I don't think it really solves the problem or at least, does

Re: [I] Get environment variable value is empty in properties file [camel-k]

2024-02-26 Thread via GitHub
Miaoxiang-philips commented on issue #5178: URL: https://github.com/apache/camel-k/issues/5178#issuecomment-1965913285 @squakez Thank you for your reply. I get it. Do you think it is feasible to use initContainer? In my pod-template, I added `initContainer`, and in `initContainer`, I used `

Re: [I] Get environment variable value is empty in properties file [camel-k]

2024-02-26 Thread via GitHub
squakez commented on issue #5178: URL: https://github.com/apache/camel-k/issues/5178#issuecomment-1963586235 Hello. Just a couple of notes regarding this issue. First of all, you need to make sure that the property you're willing to use is really a build time properties as, in such case, li

Re: [I] Get environment variable value is empty in properties file [camel-k]

2024-02-22 Thread via GitHub
Miaoxiang-philips commented on issue #5178: URL: https://github.com/apache/camel-k/issues/5178#issuecomment-1960694263 If my description is not clear, please let me know, thanks! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub

[I] Get environment variable value is empty in properties file [camel-k]

2024-02-22 Thread via GitHub
Miaoxiang-philips opened a new issue, #5178: URL: https://github.com/apache/camel-k/issues/5178 ### What happened? Hi Team In our Kubernetes cluster, we already have a Secret to store the database Host, USERNAME, PASSWORD, etc. For security reasons, we don't want to store sensitiv