MetaTrader5-Docker-Goldex/charts/mt5/templates/nano
2026-11-06 14:22:28 +01:00

32 lines
878 B
Text
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{{- if and .Values.ingress.enabled .Values.ingress.host }}
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ include "mt5.fullname" . }}
labels:
{{- include "mt5.labels" . | nindent 4 }}
{{- with .Values.ingress.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
{{- if .Values.ingress.className }}
ingressClassName: {{ .Values.ingress.className }}
{{- end }}
{{- with .Values.ingress.tls }}
tls:
{{- toYaml . | nindent 4 }}
{{- end }}
rules:
- host: {{ .Values.ingress.host | quote }}
http:
paths:
# Nur Web-UI (KasmVNC, inkl. WebSocket) – RPyC bleibt clusterintern
- path: /
pathType: Prefix
backend:
service:
name: {{ include "mt5.fullname" . }}
port:
name: web
{{- end }}