apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
  name: statestore
spec:
  type: state.mongodb
  version: v1
  initTimeout: 5m
  metadata:
    - name: host
      value: "localhost:27017"
    - name: databaseName
      value: "admin"
    - name: params
      value: "?replicaSet=rs0&directConnection=true"
