refactor: 调整helm chart目录结构

This commit is contained in:
zhangxinhui02
2025-10-31 10:42:45 +08:00
parent cf41b36572
commit e983c938f7
23 changed files with 1 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
# 检查EULA和PRIVACY
{{- if not .Values.EULA_AGREE }}
{{- fail "You must accept the EULA by setting 'EULA_AGREE: true'. EULA: https://github.com/MaiM-with-u/MaiBot/blob/main/EULA.md" }}
{{- end }}
{{- if not .Values.PRIVACY_AGREE }}
{{- fail "You must accept the Privacy Policy by setting 'PRIVACY_AGREE: true'. Privacy Policy: https://github.com/MaiM-with-u/MaiBot/blob/main/PRIVACY.md" }}
{{- end }}

View File

@@ -0,0 +1,9 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Release.Name }}-maibot-scripts
namespace: {{ .Release.Namespace }}
data:
# core
volume-linker.sh: |
{{ .Files.Get "files/volume-linker.sh" | nindent 4 }}