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

25 lines
515 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: forgejo
annotations:
cert-manager.io/cluster-issuer: letsencrypt
external-dns.alpha.kubernetes.io/hostname: forgejo.distrust.co
spec:
ingressClassName: nginx
rules:
- host: forgejo.distrust.co
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: forgejo
port:
number: 80
tls:
- hosts:
- forgejo.distrust.co
secretName: website-tls