mirror of https://github.com/Mai-with-u/MaiBot.git
fix: 补充资源限制的默认值
parent
e28b9f9a47
commit
e63a024fb1
|
|
@ -38,7 +38,7 @@ spec:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
name: webui
|
name: webui
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
resources: {{ .Values.sqlite_web.resources }}
|
resources: {{ .Values.sqlite_web.resources | default nil }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /data/MaiMBot
|
- mountPath: /data/MaiMBot
|
||||||
name: data
|
name: data
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@ spec:
|
||||||
- containerPort: 80
|
- containerPort: 80
|
||||||
name: dashboard
|
name: dashboard
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
resources: {{ .Values.statistics_dashboard.resources }}
|
resources: {{ .Values.statistics_dashboard.resources | default nil }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /usr/share/nginx/html
|
- mountPath: /usr/share/nginx/html
|
||||||
name: statistics
|
name: statistics
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue