install-gateway-routes-config.yml 251 B

12345678910111213
  1. ---
  2. apiVersion: "tanzu.vmware.com/v1"
  3. kind: SpringCloudGatewayRouteConfig
  4. metadata:
  5. name: backend-gateway-routes
  6. spec:
  7. service:
  8. name: backend-service
  9. routes:
  10. - predicates:
  11. - Path=/backend/**
  12. filters:
  13. - StripPrefix=1