mirror of https://github.com/Mai-with-u/MaiBot.git
fix: 修正资源限制的类型问题
parent
0f82ebf53e
commit
93778370bf
|
|
@ -27,7 +27,7 @@ spec:
|
||||||
- containerPort: 8095
|
- containerPort: 8095
|
||||||
name: napcat-ws
|
name: napcat-ws
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
resources: {{ .Values.adapter.resources }}
|
resources: {{ .Values.adapter.resources | default nil }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /adapters/data
|
- mountPath: /adapters/data
|
||||||
name: data
|
name: data
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ spec:
|
||||||
- containerPort: 8000
|
- containerPort: 8000
|
||||||
name: adapter-ws
|
name: adapter-ws
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
resources: {{ .Values.core.resources }}
|
resources: {{ .Values.core.resources | default nil }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /MaiMBot/data
|
- mountPath: /MaiMBot/data
|
||||||
name: data
|
name: data
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@ spec:
|
||||||
- containerPort: 6099
|
- containerPort: 6099
|
||||||
name: webui
|
name: webui
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
resources: {{ .Values.napcat.resources }}
|
resources: {{ .Values.napcat.resources | default nil }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /app/napcat/config
|
- mountPath: /app/napcat/config
|
||||||
name: napcat
|
name: napcat
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue