Created
May 9, 2019 13:17
-
-
Save chanwit/71d3787ff06326355168a526adc6641e 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: ambassador/v1 | |
kind: Mapping | |
name: productpage_v1_mapping | |
prefix: /app | |
service: https://productpage-v1-fpszyetfsa-uc.a.run.app | |
host_rewrite: productpage-v1-fpszyetfsa-uc.a.run.app | |
--- | |
apiVersion: ambassador/v1 | |
kind: Mapping | |
name: details_v1_mapping | |
prefix: /gw/details | |
service: https://details-v1-fpszyetfsa-uc.a.run.app | |
host_rewrite: details-v1-fpszyetfsa-uc.a.run.app | |
--- | |
apiVersion: ambassador/v1 | |
kind: Mapping | |
name: details_v2_mapping | |
prefix: /gw/details | |
headers: | |
end-user: test | |
service: https://details-v2-fpszyetfsa-uc.a.run.app | |
host_rewrite: details-v2-fpszyetfsa-uc.a.run.app | |
--- | |
apiVersion: ambassador/v1 | |
kind: Mapping | |
name: reviews_v1_mapping | |
prefix: /gw/reviews | |
service: https://reviews-v1-fpszyetfsa-uc.a.run.app | |
host_rewrite: reviews-v1-fpszyetfsa-uc.a.run.app | |
weight: 100 | |
--- | |
apiVersion: ambassador/v1 | |
kind: Mapping | |
name: ratings_v1_mapping | |
prefix: /gw/ratings | |
service: https://ratings-v1-fpszyetfsa-uc.a.run.app | |
host_rewrite: ratings-v1-fpszyetfsa-uc.a.run.app | |
weight: 100 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment