---
  apiVersion: extensions/v1beta1
  kind: Deployment
  metadata:
    name: mailserver
    namespace: human-connection
  spec:
    replicas: 1
    minReadySeconds: 15
    progressDeadlineSeconds: 60
    selector:
      matchLabels:
        human-connection.org/selector: deployment-human-connection-mailserver
    template:
      metadata:
        labels:
          human-connection.org/selector: deployment-human-connection-mailserver
        name: "mailserver"
      spec:
        containers:
        - name: mailserver
          image: djfarrelly/maildev
          imagePullPolicy: Always
          ports:
          - containerPort: 80
          - containerPort: 25
          envFrom:
          - configMapRef:
              name: configmap
          - secretRef:
              name: human-connection
        restartPolicy: Always
        terminationGracePeriodSeconds: 30
  status: {}
