将镜像地址从values中解耦

pull/1254/head
zhangxinhui02 2025-09-23 13:41:30 +08:00
parent 06c74e3404
commit c9ef7d5b78
No known key found for this signature in database
GPG Key ID: 22C23383864A313F
7 changed files with 12 additions and 12 deletions

View File

@ -21,7 +21,7 @@ spec:
env: env:
- name: TZ - name: TZ
value: Asia/Shanghai 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 }} imagePullPolicy: {{ .Values.adapter.image.pullPolicy }}
ports: ports:
- containerPort: 8095 - containerPort: 8095

View File

@ -29,7 +29,7 @@ spec:
value: 99f08e0cab0190de853cb6af7d64d4de value: 99f08e0cab0190de853cb6af7d64d4de
- name: PRIVACY_AGREE - name: PRIVACY_AGREE
value: 9943b855e72199d0f5016ea39052f1b6 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 }} imagePullPolicy: {{ .Values.core.image.pullPolicy }}
ports: ports:
- containerPort: 8000 - containerPort: 8000

View File

@ -26,7 +26,7 @@ spec:
value: "{{ .Values.napcat.permission.uid }}" value: "{{ .Values.napcat.permission.uid }}"
- name: TZ - name: TZ
value: Asia/Shanghai 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 }} imagePullPolicy: {{ .Values.napcat.image.pullPolicy }}
livenessProbe: livenessProbe:
failureThreshold: 3 failureThreshold: 3

View File

@ -15,7 +15,7 @@ spec:
restartPolicy: Never restartPolicy: Never
containers: containers:
- name: adapter-cm-generator - 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 workingDir: /app
env: env:
- name: PYTHONUNBUFFERED - name: PYTHONUNBUFFERED

View File

@ -22,7 +22,7 @@ spec:
env: env:
- name: SQLITE_DATABASE - name: SQLITE_DATABASE
value: /data/MaiMBot/MaiBot.db 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 }} imagePullPolicy: {{ .Values.sqlite_web.image.pullPolicy }}
livenessProbe: livenessProbe:
failureThreshold: 3 failureThreshold: 3

View File

@ -18,7 +18,7 @@ spec:
spec: spec:
containers: containers:
- name: nginx - 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 }} imagePullPolicy: {{ .Values.statistics_dashboard.image.pullPolicy }}
livenessProbe: livenessProbe:
failureThreshold: 3 failureThreshold: 3

View File

@ -9,7 +9,7 @@ PRIVACY_AGREE: false
adapter: adapter:
image: image:
repository: unclas/maimbot-adapter repository: # 默认 unclas/maimbot-adapter
tag: # 默认 main-20250922131146 tag: # 默认 main-20250922131146
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
pullSecrets: [ ] pullSecrets: [ ]
@ -37,7 +37,7 @@ adapter:
# adapter的动态生成configmap的Job的配置 # adapter的动态生成configmap的Job的配置
cm_generator: cm_generator:
image: image:
repository: reg.mikumikumi.xyz/maibot/adapter-cm-generator repository: # 默认 reg.mikumikumi.xyz/maibot/adapter-cm-generator
tag: # 默认 0.10.3-beta tag: # 默认 0.10.3-beta
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
pullSecrets: [ ] pullSecrets: [ ]
@ -47,7 +47,7 @@ adapter:
core: core:
image: image:
repository: reg.mikumikumi.xyz/maibot/maibot repository: # 默认 reg.mikumikumi.xyz/maibot/maibot
tag: # 默认 tag-0.10.3-beta tag: # 默认 tag-0.10.3-beta
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
pullSecrets: [ ] pullSecrets: [ ]
@ -74,7 +74,7 @@ statistics_dashboard:
replicaCount: 1 replicaCount: 1
image: image:
repository: nginx repository: # 默认 nginx
tag: # 默认 latest tag: # 默认 latest
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
pullSecrets: [ ] pullSecrets: [ ]
@ -114,7 +114,7 @@ napcat:
enabled: true enabled: true
image: image:
repository: mlikiowa/napcat-docker repository: # 默认 mlikiowa/napcat-docker
tag: # 默认 v4.8.116 tag: # 默认 v4.8.116
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
pullSecrets: [ ] pullSecrets: [ ]
@ -160,7 +160,7 @@ sqlite_web:
enabled: false enabled: false
image: image:
repository: coleifer/sqlite-web repository: # 默认 coleifer/sqlite-web
tag: # 默认 latest tag: # 默认 latest
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
pullSecrets: [ ] pullSecrets: [ ]