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

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

commit ff0dfc7aba5d26991fbea9b37426912b6672d074
Author: Andrea Cosentino <[email protected]>
AuthorDate: Wed May 13 14:12:25 2026 +0200

    Fix #2829: Add missing x-descriptors for sslKeyPassword in Kafka kamelets
    
    Add x-descriptors with urn:camel:group:credentials to the sslKeyPassword
    property in kafka-sink, kafka-source, and kafka-batch-source kamelets so
    UI tools properly group and mask this sensitive field.
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
    Signed-off-by: Andrea Cosentino <[email protected]>
---
 kamelets/kafka-batch-source.kamelet.yaml                                | 2 ++
 kamelets/kafka-sink.kamelet.yaml                                        | 2 ++
 kamelets/kafka-source.kamelet.yaml                                      | 2 ++
 .../src/main/resources/kamelets/kafka-batch-source.kamelet.yaml         | 2 ++
 .../camel-kamelets/src/main/resources/kamelets/kafka-sink.kamelet.yaml  | 2 ++
 .../src/main/resources/kamelets/kafka-source.kamelet.yaml               | 2 ++
 6 files changed, 12 insertions(+)

diff --git a/kamelets/kafka-batch-source.kamelet.yaml 
b/kamelets/kafka-batch-source.kamelet.yaml
index c236ea104..7d59d1a02 100644
--- a/kamelets/kafka-batch-source.kamelet.yaml
+++ b/kamelets/kafka-batch-source.kamelet.yaml
@@ -109,6 +109,8 @@ spec:
         description: The password of the private key in the key store file.
         type: string
         format: password
+        x-descriptors:
+          - urn:camel:group:credentials
       autoCommitEnable:
         title: Auto Commit Enable
         description: If true, periodically commit to ZooKeeper the offset of 
messages already fetched by the consumer
diff --git a/kamelets/kafka-sink.kamelet.yaml b/kamelets/kafka-sink.kamelet.yaml
index 880c84454..1a4f76aae 100644
--- a/kamelets/kafka-sink.kamelet.yaml
+++ b/kamelets/kafka-sink.kamelet.yaml
@@ -109,6 +109,8 @@ spec:
         description: The password of the private key in the key store file.
         type: string
         format: password
+        x-descriptors:
+          - urn:camel:group:credentials
   dependencies:
     - "camel:core"
     - "camel:kafka"
diff --git a/kamelets/kafka-source.kamelet.yaml 
b/kamelets/kafka-source.kamelet.yaml
index 0db0cf04c..c0c8bcb4c 100644
--- a/kamelets/kafka-source.kamelet.yaml
+++ b/kamelets/kafka-source.kamelet.yaml
@@ -109,6 +109,8 @@ spec:
         description: The password of the private key in the key store file.
         type: string
         format: password
+        x-descriptors:
+          - urn:camel:group:credentials
       autoCommitEnable:
         title: Auto Commit Enable
         description: If true, periodically commit to ZooKeeper the offset of 
messages already fetched by the consumer
diff --git 
a/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-source.kamelet.yaml
 
b/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-source.kamelet.yaml
index c236ea104..7d59d1a02 100644
--- 
a/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-source.kamelet.yaml
+++ 
b/library/camel-kamelets/src/main/resources/kamelets/kafka-batch-source.kamelet.yaml
@@ -109,6 +109,8 @@ spec:
         description: The password of the private key in the key store file.
         type: string
         format: password
+        x-descriptors:
+          - urn:camel:group:credentials
       autoCommitEnable:
         title: Auto Commit Enable
         description: If true, periodically commit to ZooKeeper the offset of 
messages already fetched by the consumer
diff --git 
a/library/camel-kamelets/src/main/resources/kamelets/kafka-sink.kamelet.yaml 
b/library/camel-kamelets/src/main/resources/kamelets/kafka-sink.kamelet.yaml
index 880c84454..1a4f76aae 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/kafka-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/kafka-sink.kamelet.yaml
@@ -109,6 +109,8 @@ spec:
         description: The password of the private key in the key store file.
         type: string
         format: password
+        x-descriptors:
+          - urn:camel:group:credentials
   dependencies:
     - "camel:core"
     - "camel:kafka"
diff --git 
a/library/camel-kamelets/src/main/resources/kamelets/kafka-source.kamelet.yaml 
b/library/camel-kamelets/src/main/resources/kamelets/kafka-source.kamelet.yaml
index 0db0cf04c..c0c8bcb4c 100644
--- 
a/library/camel-kamelets/src/main/resources/kamelets/kafka-source.kamelet.yaml
+++ 
b/library/camel-kamelets/src/main/resources/kamelets/kafka-source.kamelet.yaml
@@ -109,6 +109,8 @@ spec:
         description: The password of the private key in the key store file.
         type: string
         format: password
+        x-descriptors:
+          - urn:camel:group:credentials
       autoCommitEnable:
         title: Auto Commit Enable
         description: If true, periodically commit to ZooKeeper the offset of 
messages already fetched by the consumer

Reply via email to