Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-16838

camel-kubernetes: configmap documentation refers to invalid query parameters

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.12.0
    • Fix Version/s: 3.11.2, 3.12.0
    • Component/s: camel-kubernetes
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      There are several parts of the Kubernetes Config Map documentation 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:

       

       

      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}]

       

       

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                orpiske Otavio Rodolfo Piske
                Reporter:
                orpiske Otavio Rodolfo Piske
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: