apache / camel-karavan

Apache Camel Karavan a Low-code Data Integration Platform
https://camel.apache.org
Apache License 2.0
433 stars 146 forks source link

Bug Secrets not working in deployment #1430

Open enter-marlah opened 4 hours ago

enter-marlah commented 4 hours ago

Describe the bug

Secret references work in dev mode but in versions 4.7.1 and 4.8.0 secret references only return the placeholder name.

Steps to reproduce the behavior

  1. Create simple route:

    • route: id: route-c743 nodePrefixId: route-8fa from: id: from-490e uri: timer parameters: timerName: testing steps:
      • log: id: log-1c41 message: "{{secret:karavan/karavan.git.branch}}"
  2. In dev mode the console prints the contents of the secret.

  3. In Deployment the console prints only karavan/karavan.git.branch text.

Variant

Web Application

Container Management (if applicable)

Kubernetes

Operating System (if applicable)

None

Version

4.8.0

Relevant log output

No response

enter-marlah commented 3 hours ago

I changed the Apache Camel version in build.sh to 4.7.0 (jbang -Dcamel.jbang.version=4.7.0) and the problem was fixed. Is this more a bug in Apache Camel?