gitea: add ssh ingressroute

This commit is contained in:
2025-06-15 20:07:54 -04:00
parent 08a85f7d8d
commit 09e035cf03

View File

@@ -59,7 +59,7 @@ gitea:
DOMAIN: git.dubyatp.xyz DOMAIN: git.dubyatp.xyz
ENABLE_PPROF: false ENABLE_PPROF: false
ROOT_URL: https://git.dubyatp.xyz ROOT_URL: https://git.dubyatp.xyz
SSH_DOMAIN: git.dubyatp.xyz SSH_DOMAIN: git-ssh.dubyatp.xyz
SSH_LISTEN_PORT: 22 SSH_LISTEN_PORT: 22
SSH_PORT: 22 SSH_PORT: 22
START_SSH_SERVER: true START_SSH_SERVER: true
@@ -78,6 +78,19 @@ gitea:
security: security:
INSTALL_LOCK: true INSTALL_LOCK: true
extraDeploy: extraDeploy:
- apiVersion: traefik.io/v1alpha1
metadata:
name: gitea-ssh
spec:
entryPoints:
- gitssh
routes:
- kind: Rule
match: Host(`git-ssh.dubyatp.xyz`)
priority: 10
services:
- name: gitea-ssh
port: 22
- apiVersion: v1 - apiVersion: v1
kind: Secret kind: Secret
metadata: metadata: