Skip to content

Instantly share code, notes, and snippets.

@fhsinchy
Created February 1, 2022 07:05
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 fhsinchy/05ed1e29251bbbba694fc9cc979b5998 to your computer and use it in GitHub Desktop.
Save fhsinchy/05ed1e29251bbbba694fc9cc979b5998 to your computer and use it in GitHub Desktop.
apiVersion: getambassador.io/v3alpha1
kind: Mapping
metadata:
name: front-end-mapping
spec:
prefix: "/?(.*)"
prefix_regex: true
service: http://client-cluster-ip-service:8080
---
apiVersion: getambassador.io/v3alpha1
kind: Mapping
metadata:
name: back-end-mapping
spec:
prefix: "/api/?(.*)"
prefix_regex: true
service: http://api-cluster-ip-service:3000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment