Enable ssh git interface

This commit is contained in:
Grant 2025-03-15 22:55:00 -06:00
parent 60b99e2130
commit 10d564b6d5
2 changed files with 33 additions and 0 deletions

View File

@ -48,6 +48,12 @@ ingress:
annotations:
"traefik.ingress.kubernetes.io/router.tls.certresolver": "letsencrypt"
service:
ssh:
type: ClusterIP
port: 22
clusterIP:
redis:
enabled: true
@ -57,3 +63,22 @@ postgresql:
enabled: false
postgresql-ha:
enabled: false
extraDeploy:
- apiVersion: traefik.io/v1alpha1
kind: IngressRouteTCP
metadata:
name: gitea-ssh
namespace: gitea
labels:
app: gitea
spec:
entryPoints:
- ssh
routes:
- match: HostSNI(`*`)
services:
- name: gitea-ssh
port: 22

View File

@ -48,6 +48,14 @@ ports:
middlewares:
- traefik-rate-limit@kubernetescrd
ssh:
port: 2222
expose:
default: true
exposedPort: 2222
protocol: TCP
extraObjects:
- apiVersion: v1
kind: Secret