mirror of https://github.com/Mai-with-u/MaiBot.git
编写部署前检查项(EULA和POLICY)
parent
7dea93052c
commit
6a047e0205
|
|
@ -0,0 +1,8 @@
|
||||||
|
# 检查EULA和PRIVACY
|
||||||
|
{{- if not .Values.core.EULA_AGREE }}
|
||||||
|
{{- fail "You must accept the EULA by setting 'core.EULA_AGREE: true'. EULA: https://github.com/MaiM-with-u/MaiBot/blob/main/EULA.md" }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{- if not .Values.core.PRIVACY_AGREE }}
|
||||||
|
{{- fail "You must accept the Privacy Policy by setting 'core.PRIVACY_AGREE: true'. Privacy Policy: https://github.com/MaiM-with-u/MaiBot/blob/main/PRIVACY.md" }}
|
||||||
|
{{- end }}
|
||||||
Loading…
Reference in New Issue