You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2022/12/13 10:03:30 UTC
[camel-kamelets] 01/06: Google Storage Source Kamelet: serviceAccountKey is not required
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 <an...@gmail.com>
AuthorDate: Tue Dec 13 09:49:56 2022 +0100
Google Storage Source Kamelet: serviceAccountKey is not required
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
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