mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-16 18:02:55 +02:00
20128bcd73
Single-pod sqlite install (simplest path for a home git host). HTTPS-only, no SSH listener for now. Wired into the Hetzner tunnel like the other rubenhensen.nl services. First visitor to git.rubenhensen.nl can register; Gitea auto-promotes the first user to admin.
25 lines
561 B
YAML
25 lines
561 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: gitea-ingress
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: prod-cluster-issuer
|
|
nginx.ingress.kubernetes.io/proxy-body-size: "1g"
|
|
spec:
|
|
ingressClassName: nginx
|
|
rules:
|
|
- host: git.rubenhensen.nl
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: gitea
|
|
port:
|
|
number: 3000
|
|
tls:
|
|
- secretName: letsencrypt-prod
|
|
hosts:
|
|
- git.rubenhensen.nl
|