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

15 lines
438 B
YAML

{{- 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 }}