Some checks failed
MT5 Helm GitOps Deploy / build-and-deploy (push) Failing after 4s
15 lines
438 B
YAML
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 }}
|