---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: configs-db
  namespace: default
spec:
  replicas: 1
  selector:
    matchLabels:
      name: configs-db
  template:
    metadata:
      labels:
        name: configs-db
      annotations:
        prometheus.io.scrape: "false"
    spec:
      containers:
      - name: configs-db
        image: postgres:9.6
        imagePullPolicy: IfNotPresent
        env:
          - name: POSTGRES_DB
            value: configs
        ports:
        - containerPort: 5432
