peridot/infrastructure/prow/virtualservice.yaml
2022-10-30 04:29:30 +01:00

29 lines
631 B
YAML

---
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
name: prow
namespace: prow
annotations:
external-dns.alpha.kubernetes.io/target: ingress.build.resf.org
spec:
gateways:
- istio-system/base-gateway-public
hosts:
- prow.build.resf.org
http:
- name: hook
match:
- uri:
prefix: "/hook"
route:
- destination:
host: hook.prow.svc.cluster.local
port:
number: 8888
- name: deck
route:
- destination:
host: deck.prow.svc.cluster.local
port:
number: 80