IngressRoute.yaml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. apiVersion: traefik.io/v1alpha1
  2. kind: IngressRoute
  3. metadata:
  4. name: auction-bid.https
  5. spec:
  6. entryPoints:
  7. - websecure
  8. routes:
  9. - kind: Rule
  10. match: Host(`dev.ahxpm.com`) && (Path(`/bid/doc.html`) || PathPrefix(`/bid/webjars`) || PathPrefix(`/bid/swagger-resources`) || PathPrefix(`/bid/v2/api-docs`) || PathPrefix(`/bid/v3/api-docs`))
  11. middlewares:
  12. - name: auction-bid-strip
  13. - name: bid-cors-header
  14. services:
  15. - name: auction-bid
  16. port: 80
  17. - kind: Rule
  18. match: Host(`dev.ahxpm.com`) && Path(`/bid/bid/bidding/addPrice`)
  19. middlewares:
  20. - name: auction-bid-strip
  21. - name: bid-cors-header
  22. services:
  23. - name: auction-bid
  24. port: 80
  25. - kind: Rule
  26. match: >-
  27. Host(`dev.ahxpm.com`) && PathPrefix(`/bid`)
  28. middlewares:
  29. - name: auction-bid-strip
  30. - name: bid-cors-header
  31. - name: ahx-oidc.authn-app
  32. services:
  33. - name: auction-bid
  34. port: 80
  35. tls:
  36. secretName: dev.ahxpm.com