k3s-cluster/cluster/apps/default/gitea/ingress.yaml

24 lines
560 B
YAML
Raw Permalink Normal View History

2023-06-04 05:39:51 +00:00
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: gitea-ingress
namespace: default
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
traefik.ingress.kubernetes.io/router.entrypoints: websecure
spec:
rules:
- host: &host "git.${SECRET_NEW_DOMAIN}"
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: gitea
port:
number: 80
tls:
- hosts:
- *host
secretName: wildcard-main-tls