You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2022/11/07 10:20:05 UTC
[camel-kamelets] 01/02: Nats Kamelets: Mark servers as secret parameter since it could contains sensitive data if authenticated
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch 1086
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit e493d0dd22eb53abce4dc5707e6c05d243de58fe
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Nov 7 11:17:46 2022 +0100
Nats Kamelets: Mark servers as secret parameter since it could contains sensitive data if authenticated
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
kamelets/nats-sink.kamelet.yaml | 4 ++++
kamelets/nats-source.kamelet.yaml | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/kamelets/nats-sink.kamelet.yaml b/kamelets/nats-sink.kamelet.yaml
index 64e32baf..07b4e95d 100644
--- a/kamelets/nats-sink.kamelet.yaml
+++ b/kamelets/nats-sink.kamelet.yaml
@@ -44,6 +44,10 @@ spec:
title: Servers
description: Comma separated list of NATS Servers
type: string
+ format: password
+ x-descriptors:
+ - urn:alm:descriptor:com.tectonic.ui:password
+ - urn:camel:group:credentials
dependencies:
- "camel:nats"
- "camel:kamelet"
diff --git a/kamelets/nats-source.kamelet.yaml b/kamelets/nats-source.kamelet.yaml
index b47ff023..58adcd39 100644
--- a/kamelets/nats-source.kamelet.yaml
+++ b/kamelets/nats-source.kamelet.yaml
@@ -44,6 +44,10 @@ spec:
title: Servers
description: Comma separated list of NATS Servers
type: string
+ format: password
+ x-descriptors:
+ - urn:alm:descriptor:com.tectonic.ui:password
+ - urn:camel:group:credentials
types:
out:
mediaType: application/json