MetaTrader5-Docker-Image/charts/mt5/templates/secret.yaml

16 lines
438 B
YAML
Raw Normal View History

2026-11-03 19:51:32 +00:00
{{- if not .Values.auth.existingSecret }}
{{- if not .Values.auth.password }}
{{- fail "auth.password muss gesetzt sein (oder auth.existingSecret verwenden)" }}
{{- end }}
apiVersion: v1
kind: Secret
metadata:
name: {{ include "mt5.secretName" . }}
labels:
{{- include "mt5.labels" . | nindent 4 }}
type: Opaque
stringData:
CUSTOM_USER: {{ .Values.auth.user | quote }}
PASSWORD: {{ .Values.auth.password | quote }}
{{- end }}