Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save bechampion/339ddf46b3ccc9630073d966ca0a3839 to your computer and use it in GitHub Desktop.
Save bechampion/339ddf46b3ccc9630073d966ca0a3839 to your computer and use it in GitHub Desktop.
istiovsheader
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: httpbin
spec:
hosts:
- "httpbin.example.com"
- "nginx.example.com"
- "nets.example.com"
gateways:
- httpbin-gateway
http:
- match:
- headers:
secret:
regex: "cookie"
route:
- destination:
port:
number: 80
host: nginx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment