Created
April 15, 2019 01:39
-
-
Save garystafford/b8cc4dccdcc39c3e6537e93c54f322bf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: networking.istio.io/v1alpha3 | |
kind: VirtualService | |
metadata: | |
name: service-rev-proxy | |
spec: | |
hosts: | |
- api.dev.example-api.com | |
gateways: | |
- demo-gateway | |
http: | |
- match: | |
- uri: | |
prefix: / | |
route: | |
- destination: | |
port: | |
number: 80 | |
host: service-rev-proxy.dev.svc.cluster.local | |
weight: 100 | |
corsPolicy: | |
allowOrigin: | |
- "*" | |
allowMethods: | |
- OPTIONS | |
- GET | |
allowCredentials: true | |
allowHeaders: | |
- "*" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment