fix: 补充资源限制的默认值

This commit is contained in:
zhangxinhui02
2025-08-20 03:29:39 +08:00
parent e28b9f9a47
commit e63a024fb1
2 changed files with 2 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ spec:
- containerPort: 8080
name: webui
protocol: TCP
resources: {{ .Values.sqlite_web.resources }}
resources: {{ .Values.sqlite_web.resources | default nil }}
volumeMounts:
- mountPath: /data/MaiMBot
name: data

View File

@@ -34,7 +34,7 @@ spec:
- containerPort: 80
name: dashboard
protocol: TCP
resources: {{ .Values.statistics_dashboard.resources }}
resources: {{ .Values.statistics_dashboard.resources | default nil }}
volumeMounts:
- mountPath: /usr/share/nginx/html
name: statistics