This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch google-storage-source in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit eb46d1dbe786f9692122eb59e9e071ebb6988432 Author: Andrea Cosentino <[email protected]> AuthorDate: Tue Dec 13 10:54:34 2022 +0100 Google Storage Sink Kamelet: serviceAccountKey is not required Signed-off-by: Andrea Cosentino <[email protected]> --- kamelets/google-storage-sink.kamelet.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/kamelets/google-storage-sink.kamelet.yaml b/kamelets/google-storage-sink.kamelet.yaml index 8964be6f..5d6eeb88 100644 --- a/kamelets/google-storage-sink.kamelet.yaml +++ b/kamelets/google-storage-sink.kamelet.yaml @@ -32,12 +32,11 @@ spec: description: |- Upload objects to Google Cloud Storage. - 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. In the header, you can set the `file` / `ce-file` property to specify the filename to upload. If you do set property in the header, the Kamelet uses the exchange ID as filename. required: - bucketNameOrArn - - serviceAccountKey type: object properties: bucketNameOrArn: @@ -87,4 +86,4 @@ spec: uri: "google-storage://{{bucketNameOrArn}}" parameters: autoCreateBucket: "{{autoCreateBucket}}" - serviceAccountKey: "base64:{{serviceAccountKey}}" + serviceAccountKey: "base64:{{?serviceAccountKey}}"
