fix: 补充资源限制的默认值
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user