---
apiVersion: v1
kind: Service
metadata:
  name: postgresql
  labels:
    run: sonar-psql
spec:
  type: ClusterIP
  ports:
  - name: web
    port: 5432
    protocol: TCP
  selector:
    run: sonar-psql