mirror of https://github.com/Mai-with-u/MaiBot.git
将镜像地址从values中解耦
parent
06c74e3404
commit
c9ef7d5b78
|
|
@ -21,7 +21,7 @@ spec:
|
|||
env:
|
||||
- name: TZ
|
||||
value: Asia/Shanghai
|
||||
image: {{ .Values.adapter.image.repository }}:{{ .Values.adapter.image.tag | default "main-20250922131146" }}
|
||||
image: {{ .Values.adapter.image.repository | default "unclas/maimbot-adapter" }}:{{ .Values.adapter.image.tag | default "main-20250922131146" }}
|
||||
imagePullPolicy: {{ .Values.adapter.image.pullPolicy }}
|
||||
ports:
|
||||
- containerPort: 8095
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ spec:
|
|||
value: 99f08e0cab0190de853cb6af7d64d4de
|
||||
- name: PRIVACY_AGREE
|
||||
value: 9943b855e72199d0f5016ea39052f1b6
|
||||
image: {{ .Values.core.image.repository }}:{{ .Values.core.image.tag | default "tag-0.10.3-beta" }}
|
||||
image: {{ .Values.core.image.repository | default "reg.mikumikumi.xyz/maibot/maibot" }}:{{ .Values.core.image.tag | default "tag-0.10.3-beta" }}
|
||||
imagePullPolicy: {{ .Values.core.image.pullPolicy }}
|
||||
ports:
|
||||
- containerPort: 8000
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ spec:
|
|||
value: "{{ .Values.napcat.permission.uid }}"
|
||||
- name: TZ
|
||||
value: Asia/Shanghai
|
||||
image: {{ .Values.napcat.image.repository }}:{{ .Values.napcat.image.tag | default "v4.8.116" }}
|
||||
image: {{ .Values.napcat.image.repository | default "mlikiowa/napcat-docker" }}:{{ .Values.napcat.image.tag | default "v4.8.116" }}
|
||||
imagePullPolicy: {{ .Values.napcat.image.pullPolicy }}
|
||||
livenessProbe:
|
||||
failureThreshold: 3
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ spec:
|
|||
restartPolicy: Never
|
||||
containers:
|
||||
- name: adapter-cm-generator
|
||||
image: {{ .Values.adapter.cm_generator.image.repository }}:{{ .Values.adapter.cm_generator.image.tag | default "0.10.3-beta" }}
|
||||
image: {{ .Values.adapter.cm_generator.image.repository | default "reg.mikumikumi.xyz/maibot/adapter-cm-generator" }}:{{ .Values.adapter.cm_generator.image.tag | default "0.10.3-beta" }}
|
||||
workingDir: /app
|
||||
env:
|
||||
- name: PYTHONUNBUFFERED
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ spec:
|
|||
env:
|
||||
- name: SQLITE_DATABASE
|
||||
value: /data/MaiMBot/MaiBot.db
|
||||
image: {{ .Values.sqlite_web.image.repository }}:{{ .Values.sqlite_web.image.tag | default "latest" }}
|
||||
image: {{ .Values.sqlite_web.image.repository | default "coleifer/sqlite-web" }}:{{ .Values.sqlite_web.image.tag | default "latest" }}
|
||||
imagePullPolicy: {{ .Values.sqlite_web.image.pullPolicy }}
|
||||
livenessProbe:
|
||||
failureThreshold: 3
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ spec:
|
|||
spec:
|
||||
containers:
|
||||
- name: nginx
|
||||
image: {{ .Values.statistics_dashboard.image.repository }}:{{ .Values.statistics_dashboard.image.tag | default "latest" }}
|
||||
image: {{ .Values.statistics_dashboard.image.repository | default "nginx" }}:{{ .Values.statistics_dashboard.image.tag | default "latest" }}
|
||||
imagePullPolicy: {{ .Values.statistics_dashboard.image.pullPolicy }}
|
||||
livenessProbe:
|
||||
failureThreshold: 3
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ PRIVACY_AGREE: false
|
|||
adapter:
|
||||
|
||||
image:
|
||||
repository: unclas/maimbot-adapter
|
||||
repository: # 默认 unclas/maimbot-adapter
|
||||
tag: # 默认 main-20250922131146
|
||||
pullPolicy: IfNotPresent
|
||||
pullSecrets: [ ]
|
||||
|
|
@ -37,7 +37,7 @@ adapter:
|
|||
# adapter的动态生成configmap的Job的配置
|
||||
cm_generator:
|
||||
image:
|
||||
repository: reg.mikumikumi.xyz/maibot/adapter-cm-generator
|
||||
repository: # 默认 reg.mikumikumi.xyz/maibot/adapter-cm-generator
|
||||
tag: # 默认 0.10.3-beta
|
||||
pullPolicy: IfNotPresent
|
||||
pullSecrets: [ ]
|
||||
|
|
@ -47,7 +47,7 @@ adapter:
|
|||
core:
|
||||
|
||||
image:
|
||||
repository: reg.mikumikumi.xyz/maibot/maibot
|
||||
repository: # 默认 reg.mikumikumi.xyz/maibot/maibot
|
||||
tag: # 默认 tag-0.10.3-beta
|
||||
pullPolicy: IfNotPresent
|
||||
pullSecrets: [ ]
|
||||
|
|
@ -74,7 +74,7 @@ statistics_dashboard:
|
|||
replicaCount: 1
|
||||
|
||||
image:
|
||||
repository: nginx
|
||||
repository: # 默认 nginx
|
||||
tag: # 默认 latest
|
||||
pullPolicy: IfNotPresent
|
||||
pullSecrets: [ ]
|
||||
|
|
@ -114,7 +114,7 @@ napcat:
|
|||
enabled: true
|
||||
|
||||
image:
|
||||
repository: mlikiowa/napcat-docker
|
||||
repository: # 默认 mlikiowa/napcat-docker
|
||||
tag: # 默认 v4.8.116
|
||||
pullPolicy: IfNotPresent
|
||||
pullSecrets: [ ]
|
||||
|
|
@ -160,7 +160,7 @@ sqlite_web:
|
|||
enabled: false
|
||||
|
||||
image:
|
||||
repository: coleifer/sqlite-web
|
||||
repository: # 默认 coleifer/sqlite-web
|
||||
tag: # 默认 latest
|
||||
pullPolicy: IfNotPresent
|
||||
pullSecrets: [ ]
|
||||
|
|
|
|||
Loading…
Reference in New Issue