25 lines
503 B
YAML
25 lines
503 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: git.distrust.co
|
|
spec:
|
|
ingressClassName: nginx
|
|
rules:
|
|
- host: git.distrust.co
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: forgejo
|
|
port:
|
|
number: 80
|
|
tls:
|
|
- hosts:
|
|
- git.distrust.co
|
|
secretName: website-tls
|