This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
scoresaber-reloadedv3/.gitea/kubernetes/backend/ingress.yaml

27 lines
686 B
YAML
Raw Normal View History

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