Created
          September 13, 2021 10:24 
        
      - 
      
- 
        Save dobegor/3969a28fb3aa317b08da88ab266f7996 to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or 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: getambassador.io/v2 | |
| kind: Mapping | |
| metadata: | |
| name: webapp | |
| namespace: booksapp | |
| spec: | |
| prefix: "/" | |
| service: webapp.booksapp:7000 | |
| rewrite: "" | |
| cors: | |
| origins: http://foo.example,http://bar.example | |
| methods: POST,GET,OPTIONS | |
| headers: Content-Type | |
| exposed_headers: X-Custom-Header | |
| credentials: true | |
| max_age: "86400" | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment