A quarkus REST API serving incidents from database
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

25 lines
460 B

apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: antennas-incident
spec:
hosts:
- "*"
gateways:
- incident-gateway
http:
- match:
- uri:
prefix: /incident
rewrite:
uri: /
route:
- destination:
host: antennas-incident
subset: version-v1
weight: 75
- destination:
host: antennas-incident
subset: version-v2
weight: 25
---