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 1f6c9c49a307d273d431f98eecd5248baba1eed8 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Wed Dec 14 14:51:48 2022 +0100 Google Pubsub Kamelets: Make serviceAccountKey optional Signed-off-by: Andrea Cosentino <anco...@gmail.com> --- kamelets/google-pubsub-sink.kamelet.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/kamelets/google-pubsub-sink.kamelet.yaml b/kamelets/google-pubsub-sink.kamelet.yaml index 51371e68..3b1d4f92 100644 --- a/kamelets/google-pubsub-sink.kamelet.yaml +++ b/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}}"