mirror of
https://github.com/michaelthomson0797/fleet-infra.git
synced 2026-02-04 04:59:54 +00:00
gitea ssh through traefik
This commit is contained in:
@@ -149,9 +149,9 @@ spec:
|
||||
## @param service.ssh.loadBalancerSourceRanges Source range filter for ssh loadbalancer
|
||||
## @param service.ssh.annotations SSH service annotations
|
||||
ssh:
|
||||
type: LoadBalancer
|
||||
type: ClusterIP
|
||||
port: 22
|
||||
clusterIP: None
|
||||
clusterIP:
|
||||
loadBalancerIP:
|
||||
nodePort:
|
||||
externalTrafficPolicy:
|
||||
@@ -160,9 +160,7 @@ spec:
|
||||
ipFamilies:
|
||||
hostPort:
|
||||
loadBalancerSourceRanges: []
|
||||
annotations:
|
||||
metallb.universe.tf/loadBalancerIPs: 192.168.2.202
|
||||
metallb.universe.tf/allow-shared-ip: gitea-ssh
|
||||
annotations: {}
|
||||
|
||||
## @section Ingress
|
||||
## @param ingress.enabled Enable ingress
|
||||
|
||||
13
gitea/ingress-route-tcp.yaml
Normal file
13
gitea/ingress-route-tcp.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: IngressRouteTCP
|
||||
metadata:
|
||||
name: gitea-ssh
|
||||
namespace: gitea
|
||||
spec:
|
||||
entryPoints:
|
||||
- gitea-ssh
|
||||
routes:
|
||||
- match: HostSNI(`*`)
|
||||
services:
|
||||
- name: gitea-ssh
|
||||
port: 22
|
||||
@@ -754,6 +754,9 @@ spec:
|
||||
exposedPort: 9100
|
||||
# -- The port protocol (TCP/UDP)
|
||||
protocol: TCP
|
||||
gitea-ssh:
|
||||
port: 55522
|
||||
expose: true
|
||||
|
||||
# -- TLS Options are created as TLSOption CRDs
|
||||
# https://doc.traefik.io/traefik/https/tls/#tls-options
|
||||
|
||||
Reference in New Issue
Block a user