Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Prefix and Filter parameters to Google Cloud Storage Source Kamelet #2307

Merged
merged 1 commit into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions kamelets/google-storage-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,14 @@ spec:
description: Specifies to automatically create the Google Cloud Storage bucket.
type: boolean
default: false
prefix:
title: Prefix
description: The prefix which is used in the BlobListOptions to only consume objects we are interested in.
type: string
filter:
title: Filter
description: A regular expression to include only blobs with name matching it.
type: string
dataTypes:
out:
default: binary
Expand Down Expand Up @@ -124,5 +132,7 @@ spec:
autoCreateBucket: "{{autoCreateBucket}}"
serviceAccountKey: "base64:{{?serviceAccountKey}}"
deleteAfterRead: "{{deleteAfterRead}}"
filter: "{{?filter}}"
prefix: "{{?prefix}}"
steps:
- to: kamelet:sink
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,14 @@ spec:
description: Specifies to automatically create the Google Cloud Storage bucket.
type: boolean
default: false
prefix:
title: Prefix
description: The prefix which is used in the BlobListOptions to only consume objects we are interested in.
type: string
filter:
title: Filter
description: A regular expression to include only blobs with name matching it.
type: string
dataTypes:
out:
default: binary
Expand Down Expand Up @@ -124,5 +132,7 @@ spec:
autoCreateBucket: "{{autoCreateBucket}}"
serviceAccountKey: "base64:{{?serviceAccountKey}}"
deleteAfterRead: "{{deleteAfterRead}}"
filter: "{{?filter}}"
prefix: "{{?prefix}}"
steps:
- to: kamelet:sink
Loading