stack/kustomizations/forgejo/ingress.yaml

25 lines
503 B
YAML
Raw 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
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