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

     1  apiVersion: argoproj.io/v1alpha1
     2  kind: EventSource
     3  metadata:
     4    name: calendar
     5  spec:
     6    calendar:
     7      example-with-interval:
     8        # creates an event every 10 seconds
     9        interval: 10s
    10  
    11  #    example-with-catchup:
    12  #    # Catchup the missed events from last Event timestamp. last event will be persisted in configmap.
    13  #    # A service account with configmap get/create/update privileges needs to be configured
    14  #      schedule: "* * * * *"
    15  #      persistence:
    16  #        catchup:
    17  #          enabled: true
    18  #          maxDuration: 5m
    19  #        configMap:
    20  #          createIfNotExist: true
    21  #          name: test-configmap
    22  #
    23  #    example-with-schedule:
    24  #      # schedules an event at 30 minutes past each hour
    25  #      schedule: "30 * * * *"
    26  #
    27  #    schedule-with-static-user-payload:
    28  #      schedule: "30 * * * *"
    29  #      # metadata contains key-value pairs that will be send to the sensor with each event payload
    30  #      # whatever you put here is blindly delivered to sensor.
    31  #      # access in resourceParameters or templateParameters via the path metadata.hello
    32  #      metadata:
    33  #        hello: world
    34  #
    35  #    schedule-in-specific-timezone:
    36  #      # creates an event every 20 seconds
    37  #      interval: "20s"
    38  #      # metadata containes key-value pairs that will be send to the sensor with each event payload
    39  #      # whatever you put here is blindly delivered to sensor.
    40  #      # access in resourceParameters or templateParameters via the path metadata.hello
    41  #      metadata:
    42  #        hello: world
    43  #      # timezone
    44  #      # more info: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
    45  #      timezone: "America/New_York"
    46  #
    47  #    schedule-with-exclusion-dates:
    48  #      schedule: "30 * * * *"
    49  #      # year, month and day are matched
    50  #      exclusionDates:
    51  #        - "EXDATE:20190102T150405Z"
    52  #        - "EXDATE:20190602T160210Z"