gitea ssh metallb

This commit is contained in:
2024-05-31 10:09:22 -04:00
parent 2879fc5a15
commit 01f86f06c2
3 changed files with 8 additions and 22 deletions

View File

@@ -21,6 +21,13 @@ spec:
replicaCount: 1
service:
ssh:
type: LoadBalancer
port: 2222
annotations:
metallb.universe.tf/loadBalancerIPs: 192.168.2.248
ingress:
enabled: true
className: traefik
@@ -45,7 +52,7 @@ spec:
gitea:
config:
server:
SSH_PORT: 55522
SSH_PORT: 2222
service:
DISABLE_REGISTRATION: true
webhook:

View File

@@ -1,13 +0,0 @@
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRouteTCP
metadata:
name: gitea-ssh
namespace: gitea
spec:
entryPoints:
- gitea-ssh
routes:
- match: HostSNI(`*`)
services:
- name: gitea-ssh
port: 22

View File

@@ -27,14 +27,6 @@ spec:
domains:
- main: server.michaelthomson.dev
ports:
gitea-ssh:
port: 55522
expose:
default: true
onedev-ssh:
port: 2222
expose:
default: true
wireguard-udp:
port: 51822
protocol: UDP