init import

This commit is contained in:
Олег Бородин
2026-05-24 11:02:51 +02:00
commit 25365aef77
154 changed files with 21501 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
{{- define "mstore.username" -}}
{{- if .Values.global -}}
{{- if .Values.global.mstoreUsername -}}
{{- .Values.global.mstoreUsername -}}
{{- else -}}
{{- fail "Istore username is empty, fill it in global values.yaml !" -}}
{{- end -}}
{{- else -}}
{{- if .Values.main.auth.username -}}
{{- .Values.main.auth.username -}}
{{- else -}}
{{- fail "Istore username is empty, fill it in values.yaml !" -}}
{{- end }}
{{- end -}}
{{- end -}}
{{- define "mstore.password" -}}
{{- if .Values.global -}}
{{- if .Values.global.mstoreUserpass -}}
{{- .Values.global.mstoreUserpass -}}
{{- else -}}
{{- fail "Istore password is empty, fill it in global values.yaml !"}}
{{- end -}}
{{- else -}}
{{- if .Values.main.auth.password -}}
{{- .Values.main.auth.password -}}
{{- else -}}
{{- fail "Istore password is empty, fill it in values.yaml !"}}
{{- end -}}
{{- end -}}
{{- end -}}