Hello,
My use case is to block the calls that are ending with “/audit” or “/heap”
I am using this config but it is throwing me an error saying “fault” is not recognized:
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
spec:
gateways:
- my-gateway
hosts:
- '*'
http:
- match:
- uri:
prefix: /heap
fault:
abort:
percentage:
value: 100
httpStatus: 400
I dont want to send it to any destination. I just want istio to completely discard these call with a 400 error.
What should I change to make it working ?