eventsource on a bucket: alternative to wildcare to filter suffix? #3325
Unanswered
Pierre-Alexandre35
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
We currently have a Minio event-source listens to minio bucket. Our bucket used to be like this that have 2 differents sensors wich launch 2 differents pipelines (1 for the reports one for the invoices):
bucket/uploads/reports/
--> path where.csv
files are uploadedbucket/uploads/invoices/
--> path where.csv
files are uploadedThis was working as expected with that eventsource file:
values.yaml
This was creating 2 eventsources correctly which launched 2 differents pipelines. Howver, the requirements changed and now the minio structure changed to this:
it looks like this:
There are so many differents countries and cities. I will also need to extract the country and city name on the pipeline. My issue here is I can't do this:
I have also tried to do this:
this is not working as well since the suffix need the be the last part, in this case the file name. Do you have any suggestion for me?
Beta Was this translation helpful? Give feedback.
All reactions