Files
GitOps/nowchess/eu-central-1-staging/ingress.yaml
T
shosho996 4beab3b687 feat: NCS-74 Frontend Deployment config files (#119)
Co-authored-by: Copilot <copilot@github.com>
---------

Co-authored-by: shahdlala66 <shahd.lala66@gmail.com>
Reviewed-on: #119
Co-authored-by: Shahd Lala <shosho996@blackhole.local>
Co-committed-by: Shahd Lala <shosho996@blackhole.local>
2026-05-12 11:18:29 +02:00

55 lines
1.5 KiB
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: nowchess-ingress-st
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-prod"
nginx.ingress.kubernetes.io/ssl-redirect: "true"
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
spec:
ingressClassName: nginx
rules:
- host: st.nowchess.janis-eccarius.de
http:
paths:
- path: /api/account
pathType: Prefix
backend:
service:
name: nowchess-account-active
port:
number: 8083
- path: /ws
pathType: Prefix
backend:
service:
name: nowchess-ws-active
port:
number: 8084
- path: /api/store
pathType: Prefix
backend:
service:
name: nowchess-store-active
port:
number: 8085
- path: /api
pathType: Prefix
backend:
service:
name: nowchess-core-active
port:
number: 8080
- path: /
pathType: Prefix
backend:
service:
name: nowchess-frontend-active
port:
number: 80
tls:
- hosts:
- st.nowchess.janis-eccarius.de
secretName: nowchess-staging-ingress-cert