You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Christoph Weiss <ch...@de.ibm.com> on 2022/09/13 16:49:18 UTC

Camel-K modelines: is it possible to access ConfgMaps and Secrets in another namespace ?

Dear User Community,

Short question:
Is it possible to acess ConfigMaps and Secrets in another namespace using “config / resource modeline”? (see https://camel.apache.org/camel-k/1.9.x/cli/modeline.html)
If yes, what would be the syntax? (well I guess it is not possible … ; )  )

Regards Christoph

Re: Camel-K modelines: is it possible to access ConfgMaps and Secrets in another namespace ?

Posted by Claudio Miranda <cl...@claudius.com.br>.
On Tue, Sep 13, 2022 at 1:49 PM Christoph Weiss
<ch...@de.ibm.com> wrote:
>
> Is it possible to acess ConfigMaps and Secrets in another namespace using “config / resource modeline”? (see https://camel.apache.org/camel-k/1.9.x/cli/modeline.html)

Not possible at the moment, since that would require additional
role/rolebinding and the client api doesn't set a custom namespace in
the operator code.
You can add an issue with an example use case for further discussion.

-- 
  Claudio Miranda

claudio@claudius.com.br
http://www.claudius.com.br