27 lines
1.8 KiB
YAML
27 lines
1.8 KiB
YAML
---
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: gitea-ingress
|
|
namespace: gitea
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: "dnspod-cluster-issuer"
|
|
spec:
|
|
ingressClassName: nginx
|
|
tls:
|
|
- hosts:
|
|
- git.frytea.com
|
|
secretName: git-frytea-com-tls
|
|
rules:
|
|
- host: git.frytea.com
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: gitea
|
|
port:
|
|
name: web
|
|
|