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

     1  apiVersion: argoproj.io/v1alpha1
     2  kind: EventSource
     3  metadata:
     4    name: azure-queue-storage
     5  spec:
     6    azureQueueStorage:
     7      example:
     8        # queueName is the name of the queue to listen to
     9        queueName: test
    10        # jsonBody specifies that all event body payload coming from this
    11        # source will be JSON
    12        jsonBody: true
    13        # DecodeMessage specifies if all the messages from AQS should be base64 decoded
    14        decodeMessage: false
    15        # waitTimeInSeconds defines the wait time between empty reads from the queue
    16        waitTimeInSeconds: 2
    17        # connection string contains information about K8s secret that stores the connection string
    18        connectionString:
    19          # Key within the K8s secret whose corresponding value (must be base64 encoded) is access key
    20          key: connectionstring
    21          # Name of the K8s secret that contains the access key
    22          name: azure-secret
    23  
    24      # example-with-managed-identity:
    25      #   # queueName is the name of the queue to listen to
    26      #   queueName: test
    27      #   # jsonBody specifies that all event body payload coming from this
    28      #   # source will be JSON
    29      #   jsonBody: true
    30      #   # storageAccountName defines the name of the storage account
    31      #   # it is is mandatory to set it to connect via azure AD
    32      #   # this field is ignored if connectionString is set
    33      #   storageAccountName: "mystorageaccount"