apiVersion: v1
kind: Service
metadata:
  name: mailhog
  namespace: test-istio
  labels:
    app: mailhog
spec:
  ports:
    - name: http
      port: 8025
      targetPort: 8025
    - name: smtp
      port: 1025
      targetPort: 1025
  selector:
    app: mailhog
