This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit aacaf0136096311d003521ad6734a7770b5fee1e
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Tue Feb 15 10:01:48 2022 +0100

    make elasticsearch-index-sink user and password properties optional with 
"?" syntax
---
 kamelets/elasticsearch-index-sink.kamelet.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kamelets/elasticsearch-index-sink.kamelet.yaml 
b/kamelets/elasticsearch-index-sink.kamelet.yaml
index f35c137..6a403b0 100644
--- a/kamelets/elasticsearch-index-sink.kamelet.yaml
+++ b/kamelets/elasticsearch-index-sink.kamelet.yaml
@@ -99,8 +99,8 @@ spec:
       - name: local-es
         type: 
"#class:org.apache.camel.component.elasticsearch.ElasticsearchComponent"
         properties:
-            user: "{{user:dummy}}"
-            password: "{{password:dummy}}"
+            user: "{{?user}}"
+            password: "{{?password}}"
     from:
       uri: kamelet:source
       steps:

Reply via email to