Adjust Rustdesk config
All checks were successful
Check with kubeconform / lint (push) Successful in 10s
All checks were successful
Check with kubeconform / lint (push) Successful in 10s
This commit is contained in:
@@ -30,13 +30,10 @@ spec:
|
||||
cpu: "500m"
|
||||
command: ["hbbs"]
|
||||
args:
|
||||
- "--help"
|
||||
- "--relay-servers"
|
||||
- "rd.hexor.cy:21117"
|
||||
- "--port"
|
||||
- "21116"
|
||||
- "--web-port"
|
||||
- "21114"
|
||||
ports:
|
||||
- name: registry
|
||||
containerPort: 21116
|
||||
@@ -44,9 +41,6 @@ spec:
|
||||
- name: nat
|
||||
containerPort: 21115
|
||||
protocol: TCP
|
||||
- name: web
|
||||
containerPort: 21114
|
||||
protocol: TCP
|
||||
volumeMounts:
|
||||
- name: keys
|
||||
mountPath: /root
|
||||
|
@@ -1,25 +0,0 @@
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: rustdesk-web
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt
|
||||
traefik.ingress.kubernetes.io/router.middlewares: kube-system-https-redirect@kubernetescrd
|
||||
spec:
|
||||
ingressClassName: traefik
|
||||
tls:
|
||||
- hosts:
|
||||
- rd.hexor.cy
|
||||
secretName: rustdesk-tls
|
||||
rules:
|
||||
- host: rd.hexor.cy
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: rustdesk-web
|
||||
port:
|
||||
number: 21114
|
@@ -20,16 +20,6 @@ spec:
|
||||
port: 21116
|
||||
- protocol: UDP
|
||||
port: 21116
|
||||
- protocol: TCP
|
||||
port: 21114
|
||||
# Allow Traefik ingress for web interface
|
||||
- from:
|
||||
- namespaceSelector:
|
||||
matchLabels:
|
||||
name: kube-system
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 21114
|
||||
egress:
|
||||
# Allow DNS
|
||||
- to: []
|
||||
|
@@ -19,10 +19,6 @@ spec:
|
||||
port: 21115
|
||||
targetPort: 21115
|
||||
protocol: TCP
|
||||
- name: web
|
||||
port: 21114
|
||||
targetPort: 21114
|
||||
protocol: TCP
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
@@ -59,21 +55,3 @@ spec:
|
||||
port: 21117
|
||||
targetPort: 21117
|
||||
protocol: TCP
|
||||
|
||||
---
|
||||
# ClusterIP service for web interface (used via Ingress)
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: rustdesk-web
|
||||
labels:
|
||||
app: rustdesk-hbbs
|
||||
spec:
|
||||
type: ClusterIP
|
||||
selector:
|
||||
app: rustdesk-hbbs
|
||||
ports:
|
||||
- name: web
|
||||
port: 21114
|
||||
targetPort: 21114
|
||||
protocol: TCP
|
||||
|
Reference in New Issue
Block a user