New ports for xray

This commit is contained in:
Nikolai Rodionov 2025-01-15 15:43:18 +01:00
parent acfb954e4e
commit c27a5e1bfd
Signed by: allanger
GPG Key ID: 09F8B434D0FDD99B
7 changed files with 108 additions and 50 deletions

View File

@ -49,14 +49,14 @@ releases:
- template: env-values - template: env-values
- template: env-secrets - template: env-secrets
- name: vaultwarden #- name: vaultwarden
chart: allangers-charts/vaultwarden # chart: allangers-charts/vaultwarden
version: 2.3.0 # version: 2.3.0
namespace: applications # namespace: applications
inherit: # inherit:
- template: default-env-values # - template: default-env-values
- template: default-env-secrets # - template: default-env-secrets
- template: ext-database # - template: ext-database
- name: stalwart - name: stalwart
chart: allangers-charts/stalwart chart: allangers-charts/stalwart

View File

@ -0,0 +1,15 @@
shortcuts:
hostname: links.badhouseplants.net
adminEmail: allanger@badhouseplants.net
ingress:
main:
class: traefik
metadata:
annotations:
kubernetes.io/ingress.class: traefik
traefik.ingress.kubernetes.io/router.entrypoints: web,websecure
kubernetes.io/tls-acme: "true"
kubernetes.io/ingress.allow-http: "false"
kubernetes.io/ingress.global-static-ip-name: ""
cert-manager.io/cluster-issuer: badhouseplants-issuer-http01

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -9,6 +9,13 @@ certificate:
dnsNames: dnsNames:
- xray-public-edge.badhouseplants.net - xray-public-edge.badhouseplants.net
- 195.201.249.91 - 195.201.249.91
workload:
replicas: 1
containers:
server-xray:
ports:
shadowsocks-tcp: tcp
shadowsocks-udp: udp
traefik: traefik:
enabled: true enabled: true
@ -18,6 +25,17 @@ traefik:
match: HostSNI(`*`) match: HostSNI(`*`)
entrypoint: xray-edge entrypoint: xray-edge
port: 443 port: 443
- name: server-shadowsocks-public-edge-tcp
service: server-xray-public-edge-shadowsocks-tcp
match: HostSNI(`*`)
entrypoint: ssocks-etcp
port: 8443
udpRoutes:
- name: server-shadowsocks-public-edge-udp
service: server-xray-public-edge-shadowsocks-udp
match: HostSNI(`*`)
entrypoint: ssocks-eudp
port: 8443
shortcuts: shortcuts:
hostname: xray-public-edge.badhouseplants.net hostname: xray-public-edge.badhouseplants.net
ingress: ingress:
@ -33,8 +51,23 @@ extraVolumes:
certs: certs:
secret: secret:
secretName: xray-public-edge.badhouseplants.net secretName: xray-public-edge.badhouseplants.net
workload: service:
replicas: 1 shadowsocks-tcp:
enabled: true
type: ClusterIP
ports:
tcp:
port: 8443
targetPort: 8443
protocol: TCP
shadowsocks-udp:
enabled: true
type: ClusterIP
ports:
udp:
port: 8443
targetPort: 8443
protocol: UDP
ext-cilium: ext-cilium:
enabled: true enabled: true
ciliumNetworkPolicies: ciliumNetworkPolicies:

View File

@ -17,7 +17,7 @@ traefik:
enabled: true enabled: true
tcpRoutes: tcpRoutes:
- name: team-fortress-2 - name: team-fortress-2
service: team-fortress-2-rcon service: team-fortress-2-tf2-rcon
match: HostSNI(`*`) match: HostSNI(`*`)
entrypoint: tf2-rcon entrypoint: tf2-rcon
port: 27015 port: 27015
@ -25,7 +25,7 @@ traefik:
- name: team-fortress-2 - name: team-fortress-2
service: team-fortress-2-tf2 service: team-fortress-2-tf2
match: HostSNI(`*`) match: HostSNI(`*`)
entrypoint: tf2 entrypoint: tf2-main
port: 27015 port: 27015
storage: storage:

View File

@ -107,21 +107,31 @@ ports:
exposedPort: 25565 exposedPort: 25565
expose: expose:
default: true default: true
shadowsocks:
port: 8388 tf2-main:
protocol: TCP
exposedPort: 8388
expose:
default: true
tf2:
port: 37015 port: 37015
protocol: UDP protocol: UDP
exposedPort: 37015 exposedPort: 37015
expose: expose:
default: true default: true
tf2-rcon: tf2-rcon:
port: 37015 port: 37015
protocol: TCP protocol: TCP
exposedPort: 37015 exposedPort: 37015
expose: expose:
default: true default: true
ssocks-etcp:
port: 8444
protocol: TCP
exposedPort: 8443
expose:
default: true
ssocks-eudp:
port: 8445
protocol: UDP
exposedPort: 8443
expose:
default: true