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

53 lines
1.4 KiB
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-09 00:17:00 +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
2024-10-19 06:15:28 +00:00
---
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: scoresaber-reloaded-backend-swagger-ingress
namespace: public-services
annotations:
kubernetes.io/ingress.class: traefik-external
spec:
entryPoints:
- websecure
routes:
- match: Host(`ssr.fascinated.cc`) && PathPrefix(`/swagger`)
kind: Rule
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
- name: scoresaber-reloaded-backend-strip-swagger-prefix
namespace: public-services
services:
- name: scoresaber-reloaded-backend-service
port: 8080
tls:
secretName: fascinated-cc