Adjust Rustdesk certs
All checks were successful
Check with kubeconform / lint (push) Successful in 10s

This commit is contained in:
Ultradesu
2025-07-18 15:22:18 +03:00
parent ca7fed506b
commit 00177d347f
4 changed files with 30 additions and 30 deletions

View File

@@ -30,21 +30,21 @@ spec:
cpu: "500m"
command: ["hbbs"]
args:
- "-r"
- "rd.hexor.cy:21117" # Relay сервер
- "-p"
- "21115"
- "-w"
- "21118" # Веб-порт
- "--relay-servers"
- "rd.hexor.cy:21117"
- "--port"
- "21116"
- "--web-port"
- "21114"
ports:
- name: nat
containerPort: 21115
protocol: TCP
- name: registry
containerPort: 21116
protocol: TCP
- name: nat
containerPort: 21115
protocol: TCP
- name: web
containerPort: 21118
containerPort: 21114
protocol: TCP
volumeMounts:
- name: keys
@@ -97,7 +97,7 @@ spec:
cpu: "500m"
command: ["hbbr"]
args:
- "-p"
- "--port"
- "21117"
ports:
- name: relay

View File

@@ -22,4 +22,4 @@ spec:
service:
name: rustdesk-web
port:
number: 21118
number: 21114

View File

@@ -11,7 +11,7 @@ spec:
- Ingress
- Egress
ingress:
# Разрешаем все входящие подключения на RustDesk порты
# Allow all incoming connections to RustDesk ports
- from: []
ports:
- protocol: TCP
@@ -21,24 +21,24 @@ spec:
- protocol: UDP
port: 21116
- protocol: TCP
port: 21118
# Разрешаем Traefik ingress для веб-интерфейса
port: 21114
# Allow Traefik ingress for web interface
- from:
- namespaceSelector:
matchLabels:
name: kube-system
ports:
- protocol: TCP
port: 21118
port: 21114
egress:
# Разрешаем DNS
# Allow DNS
- to: []
ports:
- protocol: UDP
port: 53
- protocol: TCP
port: 53
# Разрешаем связь между HBBS и HBBR
# Allow communication between HBBS and HBBR
- to:
- podSelector:
matchLabels:
@@ -60,12 +60,12 @@ spec:
- Ingress
- Egress
ingress:
# Разрешаем все входящие подключения на relay порт
# Allow all incoming connections to relay port
- from: []
ports:
- protocol: TCP
port: 21117
# Разрешаем подключения от HBBS
# Allow connections from HBBS
- from:
- podSelector:
matchLabels:
@@ -74,7 +74,7 @@ spec:
- protocol: TCP
port: 21117
egress:
# Разрешаем DNS
# Allow DNS
- to: []
ports:
- protocol: UDP

View File

@@ -11,17 +11,17 @@ spec:
selector:
app: rustdesk-hbbs
ports:
- name: nat
port: 21115
targetPort: 21115
protocol: TCP
- name: registry-tcp
port: 21116
targetPort: 21116
protocol: TCP
- name: nat
port: 21115
targetPort: 21115
protocol: TCP
- name: web
port: 21118
targetPort: 21118
port: 21114
targetPort: 21114
protocol: TCP
---
@@ -61,7 +61,7 @@ spec:
protocol: TCP
---
# ClusterIP сервис для веб-интерфейса (используется через Ingress)
# ClusterIP service for web interface (used via Ingress)
apiVersion: v1
kind: Service
metadata:
@@ -74,6 +74,6 @@ spec:
app: rustdesk-hbbs
ports:
- name: web
port: 21118
targetPort: 21118
port: 21114
targetPort: 21114
protocol: TCP