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 33862bf5e4fc2ef825c6bff48c5ae172062f6cf4
Author: Andrea Cosentino <[email protected]>
AuthorDate: Tue Dec 13 09:50:54 2022 +0100

    Google Storage Source Kamelet: serviceAccountKey is not required
    
    Signed-off-by: Andrea Cosentino <[email protected]>
---
 .../src/main/resources/kamelets/google-storage-source.kamelet.yaml     | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/library/camel-kamelets/src/main/resources/kamelets/google-storage-source.kamelet.yaml
 
b/library/camel-kamelets/src/main/resources/kamelets/google-storage-source.kamelet.yaml
index fed4e770..583fd6ff 100644
--- 
a/library/camel-kamelets/src/main/resources/kamelets/google-storage-source.kamelet.yaml
+++ 
b/library/camel-kamelets/src/main/resources/kamelets/google-storage-source.kamelet.yaml
@@ -35,7 +35,6 @@ spec:
       You must encode the `serviceAccountKey` property before you pass it as a 
parameter.
     required:
       - bucketNameOrArn
-      - serviceAccountKey
     type: object
     properties:
       bucketNameOrArn:
@@ -71,7 +70,7 @@ spec:
       uri: "google-storage://{{bucketNameOrArn}}"
       parameters:
         autoCreateBucket: "{{autoCreateBucket}}"
-        serviceAccountKey: "base64:{{serviceAccountKey}}"
+        serviceAccountKey: "base64:{{?serviceAccountKey}}"
         deleteAfterRead: "{{deleteAfterRead}}"
       steps:
       - to: kamelet:sink

Reply via email to