---
apiVersion: v1
kind: Service
metadata:
  name: postgres-headless
  labels:
    app: postgres
spec:
  type: ClusterIP
  clusterIP: None
  ports:
    - name: tcp-pg
      port: 5432
      targetPort: tcp-pg
  selector:
    app: postgres
