mirror of
https://github.com/michaelthomson0797/fleet-infra.git
synced 2026-02-04 21:09:58 +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.loadBalancerSourceRanges Source range filter for ssh loadbalancer
|
||||||
## @param service.ssh.annotations SSH service annotations
|
## @param service.ssh.annotations SSH service annotations
|
||||||
ssh:
|
ssh:
|
||||||
type: LoadBalancer
|
type: ClusterIP
|
||||||
port: 22
|
port: 22
|
||||||
clusterIP: None
|
clusterIP:
|
||||||
loadBalancerIP:
|
loadBalancerIP:
|
||||||
nodePort:
|
nodePort:
|
||||||
externalTrafficPolicy:
|
externalTrafficPolicy:
|
||||||
@@ -160,9 +160,7 @@ spec:
|
|||||||
ipFamilies:
|
ipFamilies:
|
||||||
hostPort:
|
hostPort:
|
||||||
loadBalancerSourceRanges: []
|
loadBalancerSourceRanges: []
|
||||||
annotations:
|
annotations: {}
|
||||||
metallb.universe.tf/loadBalancerIPs: 192.168.2.202
|
|
||||||
metallb.universe.tf/allow-shared-ip: gitea-ssh
|
|
||||||
|
|
||||||
## @section Ingress
|
## @section Ingress
|
||||||
## @param ingress.enabled Enable 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
|
exposedPort: 9100
|
||||||
# -- The port protocol (TCP/UDP)
|
# -- The port protocol (TCP/UDP)
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
gitea-ssh:
|
||||||
|
port: 55522
|
||||||
|
expose: true
|
||||||
|
|
||||||
# -- TLS Options are created as TLSOption CRDs
|
# -- TLS Options are created as TLSOption CRDs
|
||||||
# https://doc.traefik.io/traefik/https/tls/#tls-options
|
# https://doc.traefik.io/traefik/https/tls/#tls-options
|
||||||
|
|||||||
Reference in New Issue
Block a user