You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2021/08/04 13:07:00 UTC

[jira] [Commented] (CAMEL-16788) camel-kamelet - Local parameters get overridden by environment variable

    [ https://issues.apache.org/jira/browse/CAMEL-16788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17393132#comment-17393132 ] 

Claus Ibsen commented on CAMEL-16788:
-------------------------------------

Yeah lets make local properties used first always, then that would work with host, port, path, namespace etc.

> camel-kamelet - Local parameters get overridden by environment variable
> -----------------------------------------------------------------------
>
>                 Key: CAMEL-16788
>                 URL: https://issues.apache.org/jira/browse/CAMEL-16788
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-kamelet
>            Reporter: Nicola Ferraro
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 3.12.0
>
>
> When a Kamelet declares a parameter like "namespace" or "port", then the value assigned to that parameter via properties is ignored if there's a "NAMESPACE" or "PORT" environment variable set on the host.
> That strategy may work well for global parameters, but scoped parameters should prioritize the local configuration if present.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)