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/07/08 11:51: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=17377336#comment-17377336 ]
Claus Ibsen commented on CAMEL-16788:
-------------------------------------
Its probably a good idea as you did as the workaround to specify a set of forbidden parameter names. Instead of trying to hack this in camels property placeholder algorithm, as then we end up with more and more _special_ situations.
> 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
> 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)