Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bechampion/66bad61c70eb7e8977a8dc56735b2def to your computer and use it in GitHub Desktop.
Save bechampion/66bad61c70eb7e8977a8dc56735b2def to your computer and use it in GitHub Desktop.
isitosecretsauce
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: "sauce"
route:
- destination:
port:
number: 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment