编写部署前检查项(EULA和POLICY)

pull/1208/head
zhangxinhui02 2025-08-19 22:53:14 +08:00
parent 7dea93052c
commit 6a047e0205
No known key found for this signature in database
GPG Key ID: 22C23383864A313F
1 changed files with 8 additions and 0 deletions

View File

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