scoresaber-reloadedv3/.gitea/kubernetes/backend/ingress.yaml

27 lines
686 B
YAML
Raw Normal View History

2024-09-24 08:57:05 +00:00
---
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
2024-10-04 20:46:49 +00:00
name: scoresaber-reloaded-backend-ingress
2024-09-24 08:57:05 +00:00
namespace: public-services
annotations:
kubernetes.io/ingress.class: traefik-external
spec:
entryPoints:
- websecure
routes:
2024-10-04 20:46:49 +00:00
- match: Host(`ssr.fascinated.cc`) && PathPrefix(`/api`)
2024-09-24 08:57:05 +00:00
kind: Rule
middlewares:
- name: default-headers
namespace: traefik
2024-09-28 07:28:46 +00:00
- name: compress
namespace: traefik
2024-10-04 22:14:26 +00:00
- name: scoresaber-reloaded-backend-strip-api-prefix
namespace: public-services
2024-09-24 08:57:05 +00:00
services:
2024-10-04 20:46:49 +00:00
- name: scoresaber-reloaded-backend-service
2024-10-04 22:09:34 +00:00
port: 8080
2024-09-24 08:57:05 +00:00
tls:
secretName: fascinated-cc