This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 31d43fdceda CAMEL-18171: camel-kubernetes - Fallback to default k8s
client
31d43fdceda is described below
commit 31d43fdcedafbbb1a6dcc8b7eea2c5e63160f2fb
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Jun 24 20:43:04 2022 +0200
CAMEL-18171: camel-kubernetes - Fallback to default k8s client
---
.../camel/component/kubernetes/properties/BasePropertiesFunction.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/components/camel-kubernetes/src/main/java/org/apache/camel/component/kubernetes/properties/BasePropertiesFunction.java
b/components/camel-kubernetes/src/main/java/org/apache/camel/component/kubernetes/properties/BasePropertiesFunction.java
index a9225da4ee9..196c4ceecc5 100644
---
a/components/camel-kubernetes/src/main/java/org/apache/camel/component/kubernetes/properties/BasePropertiesFunction.java
+++
b/components/camel-kubernetes/src/main/java/org/apache/camel/component/kubernetes/properties/BasePropertiesFunction.java
@@ -92,6 +92,7 @@ abstract class BasePropertiesFunction extends ServiceSupport
implements Properti
.withReflection(true)
.withTarget(config)
.withCamelContext(camelContext)
+ .withRemoveParameters(false)
.bind();
client = new DefaultKubernetesClient(config.build());
LOG.info("Auto-configuration KubernetesClient summary");