github.com/argoproj/argo-events@v1.9.1/examples/event-sources/minio.yaml (about)

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