Files
infra-k8s/ansible/files/gitea_svc.template.yaml
Evrard Van Espen bc439597cb Add ansible files
2025-11-23 11:22:45 +00:00

35 lines
584 B
YAML

---
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: gitea-http
namespace: gitea
spec:
entryPoints:
- websecure
routes:
- match: Host(`{{ git.domain }}`)
kind: Rule
services:
- name: gitea-http
port: 3000
tls:
certResolver: letsencrypt_dns
---
apiVersion: traefik.io/v1alpha1
kind: IngressRouteTCP
metadata:
name: gitea-ssh
namespace: gitea
spec:
entryPoints:
- ssh
routes:
- match: HostSNI(`*`)
priority: 10
services:
- name: gitea-ssh
port: 22
weight: 10