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 2023/10/27 08:59:00 UTC

[jira] [Resolved] (CAMEL-20054) configuration of Kubernetes secrets not working as expected

     [ https://issues.apache.org/jira/browse/CAMEL-20054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-20054.
---------------------------------
      Assignee: Claus Ibsen
    Resolution: Fixed

> configuration of Kubernetes secrets not working as expected
> -----------------------------------------------------------
>
>                 Key: CAMEL-20054
>                 URL: https://issues.apache.org/jira/browse/CAMEL-20054
>             Project: Camel
>          Issue Type: Bug
>    Affects Versions: 3.20.1
>         Environment: local kind Kubernetes cluster
> Camel K 2.0.1
> Camel 3.20.1 (indirectly from Camel K)
>            Reporter: Andreas Klemp
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 3.20.9, 3.21.3, 3.22.0, 4.0.3, 4.2.0
>
>
> As discussed in [https://github.com/apache/camel-k/issues/4841] there seems to be a configuration problem with Kubernetes secrets (and probably config maps).
> The {{CAMEL_K_MOUNT_PATH_SECRETS}} environment variable is set correctly as documented [https://camel.apache.org/manual/using-propertyplaceholder.html#_using_kubernetes_property_placeholder_functions.]
> However, I get the message "Mount path must be configured" when I try to reference \{{secret:some/key}}. It works if I additionally specify {{-Dcamel.k.mount-path.secrets=/etc/camel/conf.d/_secrets}} which is the same path as the one set already in the environment variable.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)