apiVersion: v1
kind: Service
metadata:
  labels:
    app: lifebank-postgres
  name: lifebank-postgres
spec:
  ports:
  - name: postgres
    port: 5432
    targetPort: 5432
  selector:
    app: lifebank-postgres