add ingress-route and edit gitea-svc and traefik release to make gitea work on port 22
All checks were successful
Validate Kubernetes Manifests / kubeconform (push) Successful in 13s

This commit is contained in:
2026-01-04 00:17:15 +05:30
parent 58f43d038f
commit 21e8e7a4a5
3 changed files with 26 additions and 17 deletions

View File

@@ -0,0 +1,14 @@
---
apiVersion: traefik.io/v1alpha1
kind: IngressRouteTCP
metadata:
name: gitea-ssh
namespace: git-ops
spec:
entryPoints:
- ssh
routes:
- match: HostSNI(`*`)
services:
- name: gitea-int-service
port: 22

View File

@@ -1,20 +1,3 @@
---
apiVersion: v1
kind: Service
metadata:
name: gitea-app
namespace: git-ops
annotations:
metallb.io/loadBalancerIPs: 192.168.1.202
spec:
type: LoadBalancer
selector:
app: gitea-app
ports:
- port: 22
targetPort: 22
name: ssh
---
apiVersion: v1
kind: Service
@@ -28,6 +11,11 @@ spec:
- protocol: TCP
port: 3000
targetPort: 3000
name: http
- protocol: TCP
port: 22
targetPort: 22
name: ssh
---
apiVersion: v1