1
0
Fork 0
distrust-stack/kustomizations/forgejo/ingress.yaml

26 lines
560 B
YAML
Raw Permalink Normal View History

2023-05-16 01:51:42 +00:00
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: forgejo
annotations:
cert-manager.io/cluster-issuer: letsencrypt
external-dns.alpha.kubernetes.io/hostname: git.distrust.co
nginx.ingress.kubernetes.io/proxy-body-size: "1000m"
2023-05-16 01:51:42 +00:00
spec:
ingressClassName: nginx
rules:
- host: git.distrust.co
2023-05-16 01:51:42 +00:00
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: forgejo
port:
number: 80
tls:
- hosts:
- git.distrust.co
2023-05-16 01:51:42 +00:00
secretName: website-tls