Skip to content

Commit

Permalink
CAMEL-16838: remove invalid query parameters from camel-kubernetes do…
Browse files Browse the repository at this point in the history
…cumentation (apache#5920)
  • Loading branch information
orpiske committed Aug 5, 2021
1 parent 56a9a22 commit a0b4b89
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,10 @@ This operation return a List of ConfigMaps from your cluster, using a label sele

[source,java]
--------------------------------------------------------------------------------
fromF("kubernetes-config-maps://%s?oauthToken=%s&namespace=default&resourceName=test", host, authToken).process(new KubernertesProcessor()).to("mock:result");
fromF("kubernetes-config-maps://%s?oauthToken=%s", host, authToken)
.setHeader(KubernetesConstants.KUBERNETES_NAMESPACE_NAME, constant("default"))
.setHeader(KubernetesConstants.KUBERNETES_CONFIGMAP_NAME, constant("test"))
.process(new KubernertesProcessor()).to("mock:result");
public class KubernertesProcessor implements Processor {
@Override
Expand Down

0 comments on commit a0b4b89

Please sign in to comment.