apiVersion: apps/v1
kind: Deployment
metadata:
  name: statistics-service-db-deployment
  namespace: boathouse-test
spec:
  replicas: 1
  selector: 
    matchLabels:
      app: statistics-service-db
  strategy:
    type: Recreate
  template:
    metadata:
      labels:
        app: statistics-service-db
    spec:
      containers:
      - image: docker.pkg.github.com/idcf-boat-house/boat-house/postgres:9.4
        name: statistics-service-db
      restartPolicy: Always
      imagePullSecrets:
      - name: regcred
      restartPolicy: Always
