mirror of https://github.com/Mai-with-u/MaiBot.git
fix: 修正类型问题
parent
93778370bf
commit
4c5c7137e7
|
|
@ -12,7 +12,7 @@ spec:
|
|||
protocol: TCP
|
||||
targetPort: 8095
|
||||
{{- if eq .Values.adapter.service.type "nodePort" }}
|
||||
nodePort: {{ .Values.adapter.service.nodePort }}
|
||||
nodePort: {{ .Values.adapter.service.nodePort | default nil }}
|
||||
{{- end }}
|
||||
selector:
|
||||
app: {{ .Release.Name }}-maibot-adapter
|
||||
|
|
|
|||
|
|
@ -35,9 +35,9 @@ spec:
|
|||
name: config
|
||||
readOnly: true
|
||||
subPath: config.toml
|
||||
imagePullSecrets: {{ .Values.adapter.image.pullSecrets }}
|
||||
nodeSelector: {{ .Values.adapter.nodeSelector }}
|
||||
tolerations: {{ .Values.adapter.tolerations }}
|
||||
imagePullSecrets: {{ .Values.adapter.image.pullSecrets | default nil }}
|
||||
nodeSelector: {{ .Values.adapter.nodeSelector | default nil }}
|
||||
tolerations: {{ .Values.adapter.tolerations | default nil }}
|
||||
volumes:
|
||||
- name: data
|
||||
persistentVolumeClaim:
|
||||
|
|
|
|||
|
|
@ -59,9 +59,9 @@ spec:
|
|||
- mountPath: /MaiMBot/statistics
|
||||
name: statistics
|
||||
{{- end }}
|
||||
imagePullSecrets: {{ .Values.core.image.pullSecrets }}
|
||||
nodeSelector: {{ .Values.core.nodeSelector }}
|
||||
tolerations: {{ .Values.core.tolerations }}
|
||||
imagePullSecrets: {{ .Values.core.image.pullSecrets | default nil }}
|
||||
nodeSelector: {{ .Values.core.nodeSelector | default nil }}
|
||||
tolerations: {{ .Values.core.tolerations | default nil }}
|
||||
volumes:
|
||||
- name: data
|
||||
persistentVolumeClaim:
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ kind: Ingress
|
|||
metadata:
|
||||
name: {{ .Release.Name }}-maibot-napcat
|
||||
namespace: {{ .Release.Namespace }}
|
||||
annotations: {{ .Values.napcat.ingress.annotations }}
|
||||
annotations: {{ .Values.napcat.ingress.annotations | default nil }}
|
||||
labels:
|
||||
app: {{ .Release.Name }}-maibot-napcat
|
||||
spec:
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ spec:
|
|||
protocol: TCP
|
||||
targetPort: 6099
|
||||
{{- if eq .Values.napcat.service.type "nodePort" }}
|
||||
nodePort: {{ .Values.napcat.service.nodePort }}
|
||||
nodePort: {{ .Values.napcat.service.nodePort | default nil }}
|
||||
{{- end }}
|
||||
selector:
|
||||
app: {{ .Release.Name }}-maibot-napcat
|
||||
|
|
|
|||
|
|
@ -50,9 +50,9 @@ spec:
|
|||
- mountPath: /app/.config/QQ
|
||||
name: napcat
|
||||
subPath: data
|
||||
imagePullSecrets: {{ .Values.napcat.image.pullSecrets }}
|
||||
nodeSelector: {{ .Values.napcat.nodeSelector }}
|
||||
tolerations: {{ .Values.napcat.tolerations }}
|
||||
imagePullSecrets: {{ .Values.napcat.image.pullSecrets | default nil }}
|
||||
nodeSelector: {{ .Values.napcat.nodeSelector | default nil }}
|
||||
tolerations: {{ .Values.napcat.tolerations | default nil }}
|
||||
volumes:
|
||||
- name: napcat
|
||||
persistentVolumeClaim:
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ kind: Ingress
|
|||
metadata:
|
||||
name: {{ .Release.Name }}-maibot-sqlite-web
|
||||
namespace: {{ .Release.Namespace }}
|
||||
annotations: {{ .Values.sqlite_web.ingress.annotations }}
|
||||
annotations: {{ .Values.sqlite_web.ingress.annotations | default nil }}
|
||||
labels:
|
||||
app: {{ .Release.Name }}-maibot-sqlite-web
|
||||
spec:
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ spec:
|
|||
protocol: TCP
|
||||
targetPort: 8080
|
||||
{{- if eq .Values.sqlite_web.service.type "nodePort" }}
|
||||
nodePort: {{ .Values.sqlite_web.service.nodePort }}
|
||||
nodePort: {{ .Values.sqlite_web.service.nodePort | default nil }}
|
||||
{{- end }}
|
||||
selector:
|
||||
app: {{ .Release.Name }}-maibot-sqlite-web
|
||||
|
|
|
|||
|
|
@ -42,9 +42,9 @@ spec:
|
|||
volumeMounts:
|
||||
- mountPath: /data/MaiMBot
|
||||
name: data
|
||||
imagePullSecrets: {{ .Values.sqlite_web.image.pullSecrets }}
|
||||
nodeSelector: {{ .Values.sqlite_web.nodeSelector }}
|
||||
tolerations: {{ .Values.sqlite_web.tolerations }}
|
||||
imagePullSecrets: {{ .Values.sqlite_web.image.pullSecrets | default nil }}
|
||||
nodeSelector: {{ .Values.sqlite_web.nodeSelector | default nil }}
|
||||
tolerations: {{ .Values.sqlite_web.tolerations | default nil }}
|
||||
volumes:
|
||||
- name: data
|
||||
persistentVolumeClaim:
|
||||
|
|
|
|||
|
|
@ -39,9 +39,9 @@ spec:
|
|||
- mountPath: /usr/share/nginx/html
|
||||
name: statistics
|
||||
readOnly: true
|
||||
imagePullSecrets: {{ .Values.statistics_dashboard.image.pullSecrets }}
|
||||
nodeSelector: {{ .Values.statistics_dashboard.nodeSelector }}
|
||||
tolerations: {{ .Values.core.tolerations }}
|
||||
imagePullSecrets: {{ .Values.statistics_dashboard.image.pullSecrets | default nil }}
|
||||
nodeSelector: {{ .Values.statistics_dashboard.nodeSelector | default nil }}
|
||||
tolerations: {{ .Values.core.tolerations | default nil }}
|
||||
volumes:
|
||||
- name: statistics
|
||||
persistentVolumeClaim:
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ kind: Ingress
|
|||
metadata:
|
||||
name: {{ .Release.Name }}-maibot-statistics-dashboard
|
||||
namespace: {{ .Release.Namespace }}
|
||||
annotations: {{ .Values.statistics_dashboard.ingress.annotations }}
|
||||
annotations: {{ .Values.statistics_dashboard.ingress.annotations | default nil }}
|
||||
labels:
|
||||
app: {{ .Release.Name }}-maibot-statistics-dashboard
|
||||
spec:
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ spec:
|
|||
protocol: TCP
|
||||
targetPort: 80
|
||||
{{- if eq .Values.statistics_dashboard.service.type "nodePort" }}
|
||||
nodePort: {{ .Values.statistics_dashboard.service.nodePort }}
|
||||
nodePort: {{ .Values.statistics_dashboard.service.nodePort | default nil }}
|
||||
{{- end }}
|
||||
selector:
|
||||
app: {{ .Release.Name }}-maibot-statistics-dashboard
|
||||
|
|
|
|||
Loading…
Reference in New Issue