apps/cgit/ing.yaml (view raw)
1apiVersion: networking.k8s.io/v1
2kind: Ingress
3metadata:
4 annotations:
5 kubernetes.io/tls-acme: 'true'
6 cert-manager.io/issuer: "letsencrypt-prod"
7 name: cgit-ingress
8spec:
9 tls:
10 - hosts:
11 - git.icyphox.sh
12 secretName: cgit-certs
13 rules:
14 - host: git.icyphox.sh
15 http:
16 paths:
17 - backend:
18 service:
19 name: cgit
20 port:
21 number: 80
22 path: /
23 pathType: Prefix