apiVersion: apps/v1
kind: Deployment
metadata:
  name: cron-binding-demo
  labels:
    app: cron-binding-demo
    demo: cron
spec:
  replicas: 1
  selector:
    matchLabels:
      app: cron-binding-demo
  template:
    metadata:
      labels:
        app: cron-binding-demo
        demo: cron
      annotations:
        dapr.io/enabled: "true"
        dapr.io/app-id: "cron-binding-demo"
        dapr.io/app-protocol: "http"
        dapr.io/app-port: "8080"
        dapr.io/config: "tracing"
        dapr.io/log-as-json: "true"
        dapr.io/log-level: "debug"
    spec:
      containers:
      - name: service
        image: mchmarny/cron-binding-demo:v0.11.1
        ports:
        - containerPort: 8080
        env:
        - name: ADDRESS
          value: ":8080"