apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
  name: gerrit-gerrit-http-virtual-service
  namespace: gerrit
spec:
  hosts:
  - example.com
  gateways:
  - gerrit/gerrit-istio-gateway
  http:
  - name: gerrit-primary-primary
    route:
    - destination:
        port:
          number: 48080
        host: primary.gerrit.svc.cluster.local
