From 3e395dcc521bc798976fe1083f0278c327186cf3 Mon Sep 17 00:00:00 2001 From: rohow Date: Fri, 12 Apr 2024 15:13:07 +0800 Subject: [PATCH] =?UTF-8?q?fix(gitea):=20=E4=BF=AE=E5=A4=8D=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E8=AF=81=E4=B9=A6&22=E7=AB=AF=E5=8F=A3=E8=BF=9E?= =?UTF-8?q?=E9=80=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/gitea/loadbalancer-ssh.yaml | 2 +- core/nginx/helmchart.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/gitea/loadbalancer-ssh.yaml b/apps/gitea/loadbalancer-ssh.yaml index 1f01cec..0e0d046 100644 --- a/apps/gitea/loadbalancer-ssh.yaml +++ b/apps/gitea/loadbalancer-ssh.yaml @@ -10,5 +10,5 @@ spec: ports: - protocol: TCP port: 22 - targetPort: 22 + targetPort: 2222 type: LoadBalancer \ No newline at end of file diff --git a/core/nginx/helmchart.yaml b/core/nginx/helmchart.yaml index 0acdc04..166442e 100644 --- a/core/nginx/helmchart.yaml +++ b/core/nginx/helmchart.yaml @@ -39,5 +39,7 @@ spec: enabled: false publishService: enabled: false + extraArgs: + default-ssl-certificate: "kube-system/dev-cm-crt" config: use-forwarded-headers: "true" \ No newline at end of file