28 lines
611 B
YAML
28 lines
611 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: letsencrypt
|
|
external-dns.alpha.kubernetes.io/target: armnleg.martyn.berlin
|
|
nginx.ingress.kubernetes.io/proxy-body-size: 200m
|
|
labels:
|
|
app.kubernetes.io/name: forgejo
|
|
name: forgejo
|
|
spec:
|
|
ingressClassName: nginx
|
|
rules:
|
|
- host: git.martyn.berlin
|
|
http:
|
|
paths:
|
|
- backend:
|
|
service:
|
|
name: forgejo
|
|
port:
|
|
number: 80
|
|
path: /
|
|
pathType: Prefix
|
|
tls:
|
|
- hosts:
|
|
- git.martyn.berlin
|
|
secretName: forgejo-tls
|