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

[jira] [Created] (CAMEL-16838) camel-kubernetes: configmap documentation refers to invalid query parameters

Otavio Rodolfo Piske created CAMEL-16838:
--------------------------------------------

             Summary: 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: Bug
          Components: camel-kubernetes
    Affects Versions: 3.11.0
            Reporter: Otavio Rodolfo Piske
            Assignee: Otavio Rodolfo Piske


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)