apiVersion: apps/v1
kind: Deployment
metadata:
  name: plugins
  namespace: keel-system
  labels:
    app: plugins
spec:
  replicas: 1
  selector:
    matchLabels:
      app: plugins
  template:
    metadata:
      labels:
        app: plugins
      annotations:
        dapr.io/enabled: "true"
        dapr.io/app-id: "plugins"
        dapr.io/app-port: "8080"
        dapr.io/config: plugins
    spec:
      imagePullSecrets:
      - name: hub-qingcloud
      containers:
      - name: plugins
        image: dockerhub.qingcloud.com/iotpaas/plugins:0.0.1
        imagePullPolicy: Always
        ports:
          - name: http
            containerPort: 8080
            protocol: TCP