github.com/argoproj/argo-events@v1.9.1/examples/tutorials/06-trigger-conditions/minio-event-source.yaml (about)

     1  apiVersion: argoproj.io/v1alpha1
     2  kind: EventSource
     3  metadata:
     4    name: minio
     5  spec:
     6    type: minio
     7    minio:
     8      example:
     9        # bucket information
    10        bucket:
    11          # name of the bucket
    12          name: input
    13        # s3 service endpoint
    14        endpoint: minio-service.argo-events:9000
    15        # list of events to subscribe to
    16        # Visit https://docs.minio.io/docs/minio-bucket-notification-guide.html
    17        events:
    18          - s3:ObjectCreated:Put
    19          - s3:ObjectRemoved:Delete
    20        # type of the connection
    21        insecure: true
    22        # accessKey refers to K8s secret that stores the access key
    23        accessKey:
    24          # Key within the K8s secret whose corresponding value (must be base64 encoded) is access key
    25          key: accesskey
    26          # Name of the K8s secret that contains the access key
    27          name: artifacts-minio
    28        # secretKey contains information about K8s secret that stores the secret key
    29        secretKey:
    30          # Key within the K8s secret whose corresponding value (must be base64 encoded) is secret key
    31          key: secretkey
    32          # Name of the K8s secret that contains the secret key
    33          name: artifacts-minio