Persist external service config for XRAY

This commit is contained in:
Nikolai Rodionov 2024-12-18 21:57:49 +01:00
parent 78d1ba91e3
commit d41945f05d
No known key found for this signature in database
GPG Key ID: 19DB54039EBF8F10
3 changed files with 27 additions and 10 deletions

View File

@ -47,14 +47,8 @@ releases:
inherit:
- template: default-env-values
- template: default-env-secrets
- name: server-xray-public-bridge
chart: allangers-charts/server-xray
- name: external-service-xray
chart: ../../kustomizations/external-service-xray
installed: true
namespace: public-xray
version: 0.4.0
inherit:
- template: default-env-secrets
- template: default-env-values
- template: ext-tcp-routes
- template: ext-cilium
- template: ext-certificate

View File

@ -0,0 +1,23 @@
apiVersion: v1
kind: Service
metadata:
name: xray-external-proxy
spec:
externalName: xray-public.badhouseplants.net
sessionAffinity: None
type: ExternalName
---
apiVersion: traefik.io/v1alpha1
kind: IngressRouteTCP
metadata:
name: xray-external-proxy
spec:
entryPoints:
- xray-public
routes:
- match: HostSNI(`*`)
services:
- name: xray-external-proxy
nativeLB: true
port: 27015

View File

@ -5,7 +5,7 @@ ports:
default: true
exposedPort: 1194
protocol: TCP
xray:
xray-public:
port: 27015
expose:
default: true