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

View File

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

View File

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

View File

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