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 b138158fc0895eda8673377c4f6a3319f2937012
Author: Andrea Cosentino <[email protected]>
AuthorDate: Tue Dec 13 09:49:56 2022 +0100

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

diff --git a/kamelets/google-storage-source.kamelet.yaml 
b/kamelets/google-storage-source.kamelet.yaml
index fed4e770..583fd6ff 100644
--- a/kamelets/google-storage-source.kamelet.yaml
+++ b/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