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 45551217e4ee1aa835f7121138ee8836a5d3a645 Author: Andrea Cosentino <[email protected]> AuthorDate: Wed Dec 14 14:52:30 2022 +0100 Google Pubsub Kamelets: Make serviceAccountKey optional Signed-off-by: Andrea Cosentino <[email protected]> --- .../src/main/resources/kamelets/google-pubsub-sink.kamelet.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/library/camel-kamelets/src/main/resources/kamelets/google-pubsub-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/google-pubsub-sink.kamelet.yaml index 51371e68..3b1d4f92 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/google-pubsub-sink.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/google-pubsub-sink.kamelet.yaml @@ -32,11 +32,10 @@ spec: description: |- Send messages to Google Cloud Pub/Sub. - You must encode the `serviceAccountKey` property before you pass it as a parameter. + If you specify the `serviceAccountKey` property, you must base64 encode it before you pass it as a parameter. required: - projectId - destinationName - - serviceAccountKey type: object properties: projectId: @@ -64,4 +63,4 @@ spec: - to: uri: "google-pubsub://{{projectId}}:{{destinationName}}" parameters: - serviceAccountKey: "base64:{{serviceAccountKey}}" + serviceAccountKey: "base64:{{?serviceAccountKey}}"
