Persist external service config for XRAY
This commit is contained in:
parent
78d1ba91e3
commit
d41945f05d
@ -47,14 +47,8 @@ releases:
|
|||||||
inherit:
|
inherit:
|
||||||
- template: default-env-values
|
- template: default-env-values
|
||||||
- template: default-env-secrets
|
- 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
|
installed: true
|
||||||
namespace: public-xray
|
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
|
|
||||||
|
23
kustomizations/external-service-xray/service.yaml
Normal file
23
kustomizations/external-service-xray/service.yaml
Normal 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
|
||||||
|
|
@ -5,7 +5,7 @@ ports:
|
|||||||
default: true
|
default: true
|
||||||
exposedPort: 1194
|
exposedPort: 1194
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
xray:
|
xray-public:
|
||||||
port: 27015
|
port: 27015
|
||||||
expose:
|
expose:
|
||||||
default: true
|
default: true
|
||||||
|
Loading…
Reference in New Issue
Block a user