apiVersion: v1
kind: Service
metadata:
  labels:
    app: jira-clone
    tier: database
    service: postgres
  name: postgres
spec:
  ports:
    - name: "5432"
      port: 5432
      targetPort: 5432
  selector:
    service: postgres
