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

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

commit 8fbecc2f770e52d8da56728bd786ecd794da371c
Author: Andrea Cosentino <[email protected]>
AuthorDate: Wed Jul 14 18:29:58 2021 +0200

    ElasticSearch Search Source Kamelet: User and password are optional
---
 elasticsearch-search-source.kamelet.yaml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/elasticsearch-search-source.kamelet.yaml 
b/elasticsearch-search-source.kamelet.yaml
index 8b17f11..5c4832e 100644
--- a/elasticsearch-search-source.kamelet.yaml
+++ b/elasticsearch-search-source.kamelet.yaml
@@ -48,6 +48,9 @@ spec:
         title: Password
         description: Password to connect to ElasticSearch.
         type: string
+        format: password
+        x-descriptors:
+        - urn:alm:descriptor:com.tectonic.ui:password
       enableSSL:
         title: Enable SSL
         description: Do we want to connect using SSL?
@@ -95,8 +98,8 @@ spec:
               indexName: "{{indexName}}"
               hostAddresses: "{{hostAddresses}}"
               enableSSL: "{{enableSSL}}"
-              user: "{{user}}"
-              password: "{{password}}"
+              user: "{{?user}}"
+              password: "{{?password}}"
         - marshal:
             json:
               library: Gson

Reply via email to