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

     1  apiVersion: argoproj.io/v1alpha1
     2  kind: EventSource
     3  metadata:
     4    name: azure-service-bus
     5  spec:
     6    azureServiceBus:
     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        # connection string contains information about K8s secret that stores the connection string
    14        connectionString:
    15          # Key within the K8s secret whose corresponding value (must be base64 encoded) is access key
    16          key: connectionstring
    17          # Name of the K8s secret that contains the access key
    18          name: azure-secret
    19      
    20      # example-managed-identity:
    21      #   # queueName is the name of the queue to listen to
    22      #   queueName: test
    23      #   # jsonBody specifies that all event body payload coming from this
    24      #   # source will be JSON
    25      #   jsonBody: true
    26      #   # fullyQualifiedNamespace is the Service Bus namespace name. This field is necessary to access via 
    27      #   # Azure AD (managed identity) and it is ignored if ConnectionString is set
    28      #   fullyQualifiedNamespace: myservicebus.servicebus.windows.net