traefik
This commit is contained in:
@@ -2,6 +2,8 @@ providers:
|
|||||||
kubernetesIngress:
|
kubernetesIngress:
|
||||||
publishedService: # Fixes ArgoCD health checks for LoadBalancer services
|
publishedService: # Fixes ArgoCD health checks for LoadBalancer services
|
||||||
enabled: true
|
enabled: true
|
||||||
|
kubernetesCRD:
|
||||||
|
allowCrossNamespace: true
|
||||||
deployment:
|
deployment:
|
||||||
replicas: 2
|
replicas: 2
|
||||||
|
|
||||||
@@ -48,3 +50,26 @@ ports:
|
|||||||
accessLogs: true
|
accessLogs: true
|
||||||
metrics: true
|
metrics: true
|
||||||
tracing: true
|
tracing: true
|
||||||
|
|
||||||
|
gitea-ssh:
|
||||||
|
port: 2222
|
||||||
|
expose:
|
||||||
|
default: true
|
||||||
|
exposedPort: 2222
|
||||||
|
protocol: TCP
|
||||||
|
|
||||||
|
# -- IngressRouteTCP for Gitea SSH (cross-namespace to gitea/gitea-ssh service)
|
||||||
|
extraObjects:
|
||||||
|
- apiVersion: traefik.io/v1alpha1
|
||||||
|
kind: IngressRouteTCP
|
||||||
|
metadata:
|
||||||
|
name: gitea-ssh
|
||||||
|
spec:
|
||||||
|
entryPoints:
|
||||||
|
- gitea-ssh
|
||||||
|
routes:
|
||||||
|
- match: HostSNI(`*`)
|
||||||
|
services:
|
||||||
|
- name: gitea-ssh
|
||||||
|
namespace: gitea
|
||||||
|
port: 22
|
||||||
|
|||||||
@@ -10,6 +10,10 @@ service:
|
|||||||
{
|
{
|
||||||
"name": "websecure",
|
"name": "websecure",
|
||||||
"mode": "tcp"
|
"mode": "tcp"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "gitea-ssh",
|
||||||
|
"mode": "tcp"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"backends": [
|
"backends": [
|
||||||
@@ -24,6 +28,9 @@ service:
|
|||||||
"properties": {
|
"properties": {
|
||||||
"outbound_proxy_protocol": "v2"
|
"outbound_proxy_protocol": "v2"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "gitea-ssh"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user