apiVersion: apps/v1
kind: Deployment
metadata:
  name: subtractapp
  labels:
    app: subtract
  namespace: dapr
  annotations:
    fluxcd.io/automated: "true"
    fluxcd.io/ignore: "true"
spec:
  replicas: 1
  selector:
    matchLabels:
      app: subtract
  template:
    metadata:
      labels:
        app: subtract
      annotations:
        dapr.io/enabled: "true"
        dapr.io/id: "subtractapp"
        dapr.io/port: "80"
        dapr.io/config: "tracing"
    spec:
      containers:
        - name: subtract
          image: dapriosamples/distributed-calculator-csharp:edge
          ports:
            - containerPort: 80
          imagePullPolicy: Always
