Files
Hearth/deploy/api/ingress.yaml
T
Greboh 7cba626704
ci / image (push) Canceled after 0s
ci / build (push) Canceled after 4m19s
feat: added deployment
2026-11-07 18:44:09 +01:00

26 lines
714 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: hearth-api
annotations:
traefik.ingress.kubernetes.io/router.middlewares: services-hearth-api-strip@kubernetescrd
# Owns the certificate until the web ingress exists; the web ingress then reuses hearth-greboh-dev-tls.
cert-manager.io/cluster-issuer: letsencrypt-prod
spec:
ingressClassName: traefik
tls:
- hosts:
- hearth.greboh.dev
secretName: hearth-greboh-dev-tls
rules:
- host: hearth.greboh.dev
http:
paths:
- path: /api
pathType: Prefix
backend:
service:
name: hearth-api
port:
name: http