gitea: add ssh ingressroute
This commit is contained in:
@@ -59,7 +59,7 @@ gitea:
|
||||
DOMAIN: git.dubyatp.xyz
|
||||
ENABLE_PPROF: false
|
||||
ROOT_URL: https://git.dubyatp.xyz
|
||||
SSH_DOMAIN: git.dubyatp.xyz
|
||||
SSH_DOMAIN: git-ssh.dubyatp.xyz
|
||||
SSH_LISTEN_PORT: 22
|
||||
SSH_PORT: 22
|
||||
START_SSH_SERVER: true
|
||||
@@ -78,6 +78,19 @@ gitea:
|
||||
security:
|
||||
INSTALL_LOCK: true
|
||||
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
|
||||
kind: Secret
|
||||
metadata:
|
||||
|
||||
Reference in New Issue
Block a user