# ------------------------------------------------------------
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
# ------------------------------------------------------------

apiVersion: apps/v1
kind: Deployment
metadata:
  name: hashtag-actor-app
  labels:
    app: hashtag-actor
spec:
  replicas: 1
  selector:
    matchLabels:
      app: hashtag-actor
  template:
    metadata:
      labels:
        app: hashtag-actor
      annotations:
        dapr.io/enabled: "true"
        dapr.io/app-id: "hashtag-actor"
        dapr.io/app-port: "3000"
        dapr.io/log-as-json: "true"
    spec:
      containers:
      - name: hashtag-actor
        image: dapriotest/hashtag-actor:dev
        ports:
        - containerPort: 3000
        imagePullPolicy: Always
