feat: change ssh port to 2222
This commit is contained in:
parent
f3596207e3
commit
6d53da67c4
@ -52,7 +52,7 @@ spec:
|
||||
enabled: true
|
||||
type: LoadBalancer
|
||||
externalTrafficPolicy: Local
|
||||
port: 22
|
||||
port: 2222
|
||||
annotations:
|
||||
metallb.universe.tf/allow-shared-ip: gitea
|
||||
ingress:
|
||||
@ -88,6 +88,8 @@ spec:
|
||||
admin:
|
||||
existingSecret: gitea-admin-password
|
||||
config:
|
||||
server:
|
||||
SSH_PORT: 2222
|
||||
database:
|
||||
DB_TYPE: postgres
|
||||
indexer:
|
||||
@ -103,3 +105,17 @@ spec:
|
||||
ENABLE_PUSH_CREATE_USER: true
|
||||
packages:
|
||||
ENABLED: false
|
||||
---
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRouteTCP
|
||||
metadata:
|
||||
name: gitea-ssh-ingress-route-tcp
|
||||
namespace: gitea
|
||||
spec:
|
||||
entryPoints:
|
||||
- git-ssh
|
||||
routes:
|
||||
- match: HostSNI(`*`)
|
||||
services:
|
||||
- name: gitea-ssh
|
||||
port: 2222
|
||||
|
Loading…
Reference in New Issue
Block a user