1
0
镜像自地址 https://github.com/devcm-repo/helm-charts.git 已同步 2026-06-06 05:51:06 +00:00
文件
helm-charts/charts/rustdesk-server/templates/service.yml
T

25 行
740 B
YAML

apiVersion: v1
kind: Service
metadata:
name: "{{ .Release.Name }}-{{ .Chart.Name }}"
{{- if not (empty .Values.rustdeskApi.service.annotations) }}
annotations: {{- toYaml .Values.rustdeskApi.service.annotations | nindent 4 }}
{{- end }}
spec:
type: "{{ .Values.rustdeskApi.service.type }}"
selector:
app: "{{ .Release.Name }}-{{ .Chart.Name }}"
ports:
- name: api
port: {{ .Values.rustdeskApi.ports.api }}
targetPort: 21114
protocol: TCP
- name: websocket-id
port: {{ .Values.rustdeskServer.ports.websocketId }}
targetPort: 21118
protocol: TCP
- name: websocket-relay
port: {{ .Values.rustdeskServer.ports.websocketRelay }}
targetPort: 21119
protocol: TCP