fix: route Gitea SSH through nginx ingress LB instead of separate LoadBalancer

This commit is contained in:
Ryan Moon
2026-04-02 18:34:29 -05:00
parent 3a27ccfe8d
commit f7786f3e19
2 changed files with 9 additions and 2 deletions

View File

@@ -63,11 +63,11 @@ persistence:
service: service:
ssh: ssh:
type: LoadBalancer type: ClusterIP
port: 22 port: 22
annotations: annotations:
service.beta.kubernetes.io/do-loadbalancer-name: "gitea-ssh"
external-dns.alpha.kubernetes.io/hostname: git2-ssh.lunarfront.tech external-dns.alpha.kubernetes.io/hostname: git2-ssh.lunarfront.tech
external-dns.alpha.kubernetes.io/target: "167.99.21.170"
ingress: ingress:
enabled: true enabled: true

View File

@@ -0,0 +1,7 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: tcp-services
namespace: ingress-nginx
data:
"22": "gitea/gitea-ssh:22"