Skip to content
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

Bug Secrets not working in deployment #1430

Open
enter-marlah opened this issue Sep 30, 2024 · 1 comment
Open

Bug Secrets not working in deployment #1430

enter-marlah opened this issue Sep 30, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@enter-marlah
Copy link

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}}"
  1. In dev mode the console prints the contents of the secret.
  2. 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 enter-marlah added the bug Something isn't working label Sep 30, 2024
@enter-marlah
Copy link
Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant