feat: enable port 2222 for ssh

This commit is contained in:
2024-11-17 23:54:33 -05:00
parent cbd9c83fc1
commit a1f8624688
2 changed files with 12 additions and 3 deletions

View File

@@ -31,6 +31,8 @@ spec:
interval: 1m0s interval: 1m0s
releaseName: gitea releaseName: gitea
values: values:
strategy:
type: Recreate
service: service:
http: http:
type: LoadBalancer type: LoadBalancer

View File

@@ -34,9 +34,13 @@ spec:
effect: "NoSchedule" effect: "NoSchedule"
service: service:
type: LoadBalancer type: LoadBalancer
ingressRoute: ports:
dashboard: git-ssh:
enabled: false port: 2222
expose:
default: true
exposedPort: 2222
protocol: TCP
additionalArguments: additionalArguments:
- "--api.insecure=true" - "--api.insecure=true"
--- ---
@@ -57,6 +61,9 @@ spec:
- name: websecure - name: websecure
port: 443 port: 443
targetPort: websecure targetPort: websecure
- name: git-ssh
port: 2222
targetPort: git-ssh
selector: selector:
app.kubernetes.io/name: traefik app.kubernetes.io/name: traefik
--- ---