30 lines
726 B
YAML
30 lines
726 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: "0"
|
|
nginx.ingress.kubernetes.io/proxy-read-timeout: "600"
|
|
nginx.ingress.kubernetes.io/proxy-send-timeout: "600"
|
|
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
|