Skip to content

Introduce Azure Event Grid as event destination #3587

@tomkerkhove

Description

@tomkerkhove

Proposal

Introduce Azure Event Grid as event destination:

apiVersion: events.keda.sh/v1alpha1
kind: EventSource # Or ClusterEventSource
metadata:
  name: operations-cross-cluster-events
spec:
  destination:
    azureEventgrid:
      topicEndpoint: https://{resource-name}.{region}.eventgrid.azure.net/api/events # Mandatory
      authentication: # End-users must use accessKey or activeDirectory
        accessKey:
          # Allow end-users to pull information from Kubernetes secret or from TriggerAuthentication resources
          valueFrom:
            secretKeyRef:
              name: secrets-operations-events
              key: webhook-api-key
            triggerAuthenticationRef:
              name: trigger-auth-sample
              parameterName: eventGridAuth
        activeDirectory:
          tenantId: xyz
          clientApplication:
            id: ABC
            secret:
              valueFrom:
                secretKeyRef:
                  name: secrets-operations-events
                  key: webhook-api-key
                triggerAuthenticationRef:
                  name: trigger-auth-sample
                  parameterName: eventGridAuth
          managedIdentity:
            valueFrom:
              triggerAuthenticationRef:
                name: trigger-auth-sample

Use-Case

Automatically forward CloudEvents to Azure Event Grid without HTTP endpoint in the middle.

Anything else?

No response

Metadata

Metadata

Assignees

Labels

azureAll issues concerning integration with AzurecloudeventsAll events related to CloudEvents to extend KEDAextensibilityAll issues related to extensibility of KEDAfeatureAll issues for new features that have been committed tooperations

Type

No type

Projects

Status

Ready To Ship

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions