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

Otavio Rodolfo Piske resolved CAMEL-16838.
------------------------------------------
    Resolution: Fixed

> camel-kubernetes: configmap documentation refers to invalid query parameters
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-16838
>                 URL: https://issues.apache.org/jira/browse/CAMEL-16838
>             Project: Camel
>          Issue Type: Task
>          Components: camel-kubernetes
>    Affects Versions: 3.12.0
>            Reporter: Otavio Rodolfo Piske
>            Assignee: Otavio Rodolfo Piske
>            Priority: Major
>             Fix For: 3.11.2, 3.12.0
>
>
> There are several parts of the [Kubernetes Config Map 
> documentation|https://camel.apache.org/components/latest/kubernetes-config-maps-component.html#_kubernetes_configmaps_consumer_example]
>  that refers to the namespace and resourceName query parameters, however 
> these are not available anymore. Apparently, they are set via headers.
>  
> Trying to run the code as documented, leads to errors such as:
>  
>  
> {code:java}
> Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve 
> endpoint: 
> kubernetes-config-maps://https://localhost:43287?namespace=default&oauthToken=&resourceName=test
>  due to: There are 2 parameters that couldn't be set on the endpoint. Check 
> the uri if the parameters are spelt correctly and that they are properties of 
> the endpoint. Unknown parameters=[{namespace=default, 
> resourceName=test}]{code}
>  
>  
>  



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

Reply via email to