IngressRoute.yaml 811 B

1234567891011121314151617181920212223242526272829303132
  1. apiVersion: traefik.containo.us/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(`m2-dev.hobbystocks.cn`) && Path(`/bid/bid/bidding/addPrice`)
  11. middlewares:
  12. - name: auction-bid-strip
  13. - name: bid-cors-header
  14. - name: coresvc.replay-attack
  15. - name: coresvc-jwt-token-v2-verify
  16. services:
  17. - name: auction-bid
  18. port: 80
  19. - kind: Rule
  20. match: >-
  21. Host(`m2-dev.hobbystocks.cn`) && PathPrefix(`/bid`)
  22. middlewares:
  23. - name: auction-bid-strip
  24. - name: bid-cors-header
  25. - name: coresvc-jwt-token-v2-verify
  26. services:
  27. - name: auction-bid
  28. port: 80
  29. tls:
  30. secretName: m2-dev.hobbystocks.cn