apiVersion: apps/v1
kind: Deployment
metadata:
  name: xqa-db-amqp
  namespace: xqa
  labels:
    app: xqa-db-amqp
spec:
  replicas: 1
  selector:
    matchLabels:
      app: xqa-db-amqp
  strategy:
    type: Recreate
  template:
    metadata:
      labels:
        app: xqa-db-amqp
    spec:
      containers:
        - name: xqa-db-amqp-container
          image: jameshnsears/xqa-db-amqp:latest
          args: ['-message_broker_host', 'xqa-message-broker', '-storage_host', 'xqa-db', '-storage_port', '5432']
