apiVersion: apps/v1
kind: Deployment
metadata:
  name: worker-deploy
spec:
  replicas: 1
  selector:
    matchLabels:
      app: worker
  template:
    metadata:
      labels:
        app: worker
    spec:
      containers:
      - name: worker
        image: se7entyse7en/npm-pdr-cmd:latest
        args: ['worker', '-b', 'amqp://rabbitmq-svc:5672', '-q', 'events', '-u', 'mongodb://mongodb-svc:27017', '-d', 'packages', '-c', 'dependencies']
