feat(charts): split platform release charts

This commit is contained in:
ximenchuifeng committed 2026-07-10 09:29:16 +08:00
1 parent aeb34d1e5b
commit 08ed1422fe
29 files changed
+1314 -15

No files matched your search

@@ -26,7 +26,11 @@ spec:
{{ include "mixingx-unit.backendScheduling" . | nindent 6 }}
containers:
- name: {{ $name }}
image: {{ .Values.registry }}/{{ .Values.images.backend }}:{{ .Values.tag | default "latest" }}
{{ $backendImg := .Values.images.backend }}
{{ $agentImg := .Values.images.agent | default dict }}
{{ $backendRepo := $agentImg.repository | default $backendImg.repository }}
{{ $backendTag := $agentImg.tag | default $backendImg.tag | default .Values.tag | default "latest" }}
image: {{ .Values.registry }}/{{ $backendRepo }}:{{ $backendTag }}
imagePullPolicy: IfNotPresent
ports:
- name: http
@@ -139,7 +143,11 @@ spec:
{{ include "mixingx-unit.followerScheduling" . | nindent 6 }}
containers:
- name: {{ $webName }}
image: {{ .Values.registry }}/{{ .Values.images.frontend }}:{{ .Values.tag | default "latest" }}
{{ $frontendImg := .Values.images.frontend }}
{{ $agentWebImg := .Values.images.agentWeb | default dict }}
{{ $frontendRepo := $agentWebImg.repository | default $frontendImg.repository }}
{{ $frontendTag := $agentWebImg.tag | default $frontendImg.tag | default .Values.tag | default "latest" }}
image: {{ .Values.registry }}/{{ $frontendRepo }}:{{ $frontendTag }}
imagePullPolicy: IfNotPresent
ports:
- name: http
@@ -205,7 +213,7 @@ spec:
{{ include "mixingx-unit.followerScheduling" . | nindent 6 }}
containers:
- name: postgres
image: {{ .Values.images.postgres }}
image: {{ .Values.images.postgres.repository }}:{{ .Values.images.postgres.tag | default "latest" }}
imagePullPolicy: IfNotPresent
env:
- name: POSTGRES_PASSWORD
+11 -3
View File
@@ -10,9 +10,17 @@ phaseType: "" # 工序类型(对应 apphost 的 AGENT_PHASE_TYPE,如 DieC
database: ""
images:
backend: agent
frontend: agent-web
postgres: docker.io/library/postgres:17
backend:
repository: agent
tag: ""
frontend:
repository: agent-web
tag: ""
postgres:
repository: docker.io/library/postgres
tag: "17"
agent: {}
agentWeb: {}
ports:
backend: 8080