-
Notifications
You must be signed in to change notification settings - Fork 716
/
minio.yaml
52 lines (51 loc) · 1.62 KB
/
minio.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
apiVersion: argoproj.io/v1alpha1
kind: EventSource
metadata:
name: minio
spec:
minio:
example:
# bucket information
bucket:
# name of the bucket
name: input
# s3 service endpoint
endpoint: minio-service.argo-events:9000
# list of events to subscribe to
# Visit https://docs.minio.io/docs/minio-bucket-notification-guide.html
events:
- s3:ObjectCreated:Put
- s3:ObjectRemoved:Delete
# type of the connection
insecure: true
# accessKey refers to K8s secret that stores the access key
accessKey:
# Key within the K8s secret whose corresponding value (must be base64 encoded) is access key
key: accesskey
# Name of the K8s secret that contains the access key
name: artifacts-minio
# secretKey contains information about K8s secret that stores the secret key
secretKey:
# Key within the K8s secret whose corresponding value (must be base64 encoded) is secret key
key: secretkey
# Name of the K8s secret that contains the secret key
name: artifacts-minio
# example-with-filter:
# bucket:
# name: mybucket
# endpoint: minio-service.argo-events:9000
# events:
# - s3:ObjectCreated:Put
# # Filters to apply on the key
# # Optional
# # e.g. filter for key that starts with "hello-" and ends with ".txt"
# filter:
# prefix: "hello-"
# suffix: ".txt"
# insecure: true
# accessKey:
# key: accesskey
# name: artifacts-minio
# secretKey:
# key: secretkey
# name: artifacts-minio