apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
  name: messagebus
  namespace: default
spec:
  type: pubsub.azure.servicebus.topics
  version: v1
  metadata:
    - name: consumerID
      value: optionscertification
    - name: connectionString
      secretKeyRef:
        name: AzureServiceBusConnectionString
        key: AzureServiceBusConnectionString
    - name: defaultMessageTimeToLiveInSec
      value: 10
auth:
  secretstore: envvar-secret-store