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 2021/03/30 12:20:34 UTC
[camel-kamelets] 01/02: Minio Source: Missing endpoint and
autoCreateBucket option
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch minio-source-fix
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 42705a2b0bd21c4a4d3f036a5c4b991ebf4e56fa
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Mar 30 14:19:26 2021 +0200
Minio Source: Missing endpoint and autoCreateBucket option
---
minio-source.kamelet.yaml | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/minio-source.kamelet.yaml b/minio-source.kamelet.yaml
index c6a2f59..1695560 100644
--- a/minio-source.kamelet.yaml
+++ b/minio-source.kamelet.yaml
@@ -16,6 +16,7 @@ spec:
- bucketName
- accessKey
- secretKey
+ - endpoint
properties:
bucketName:
title: Bucket Name
@@ -40,6 +41,17 @@ spec:
type: string
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
+ endpoint:
+ title: Endpoint
+ description: The Minio Endpoint, it can be an URL, domain name, IPv4 address or IPv6 address.
+ type: string
+ autoCreateBucket:
+ title: Autocreate bucket
+ description: Setting the autocreation of the S3 bucket bucketName.
+ type: boolean
+ x-descriptors:
+ - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
+ default: false
types:
out:
mediaType: application/json
@@ -49,8 +61,10 @@ spec:
from:
uri: "minio:{{bucketName}}"
parameters:
+ autoCreateBucket: "{{autoCreateBucket}}"
secretKey: "{{secretKey}}"
accessKey: "{{accessKey}}"
+ endpoint: "{{endpoint}}"
deleteAfterRead: "{{deleteAfterRead}}"
steps:
- marshal: