From f0afd446fb0c6bdebcbd8bacfaa28caa23f688b1 Mon Sep 17 00:00:00 2001 From: Paul Walko Date: Sun, 15 Nov 2020 10:36:26 -0500 Subject: [PATCH] use consistent ssh for gitea --- fogcutter/k8s/gitea.yml | 6 +++--- fogcutter/k8s/haproxy-tcp.yml | 4 ++-- fogcutter/k8s/haproxy.yml | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/fogcutter/k8s/gitea.yml b/fogcutter/k8s/gitea.yml index 70bea2a..a551b5a 100644 --- a/fogcutter/k8s/gitea.yml +++ b/fogcutter/k8s/gitea.yml @@ -28,7 +28,7 @@ spec: - name: SSH_DOMAIN value: "git.seaturtle.pw" - name: SSH_PORT - value: "22" + value: "37122" - name: ROOT_URL value: "https://git.seaturtle.pw/" - name: LFS_START @@ -56,7 +56,7 @@ spec: - name: http containerPort: 3000 - name: ssh - containerPort: 22 + containerPort: 37122 volumes: - name: gitea-data hostPath: @@ -84,7 +84,7 @@ spec: port: 3000 protocol: TCP - name: ssh - port: 22 + port: 37122 protocol: TCP --- diff --git a/fogcutter/k8s/haproxy-tcp.yml b/fogcutter/k8s/haproxy-tcp.yml index fe11252..e418939 100644 --- a/fogcutter/k8s/haproxy-tcp.yml +++ b/fogcutter/k8s/haproxy-tcp.yml @@ -5,7 +5,7 @@ metadata: name: tcpservices namespace: haproxy data: - 22: - pew/gitea:22 + 37122: + pew/gitea:37122 25565: pew/minecraft:25565 diff --git a/fogcutter/k8s/haproxy.yml b/fogcutter/k8s/haproxy.yml index ac4cefa..d2c7264 100644 --- a/fogcutter/k8s/haproxy.yml +++ b/fogcutter/k8s/haproxy.yml @@ -22,9 +22,9 @@ controller: minecraft: true tcpPorts: - name: ssh - port: 22 - targetPort: 22 - nodePort: 30022 + port: 37122 + targetPort: 37122 + nodePort: 30122 - name: minecraft port: 25565 targetPort: 25565