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

camel-kubernetes: configmap documentation refers to invalid query parameters

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.12.0
    • 3.11.2, 3.12.0
    • camel-kubernetes
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment