新增 mxinit 母盘环境(基于 sanhua 精简:去掉 codeserver 与 agent-postgres-lb;edge idWorkerId=41)

This commit is contained in:
薛佳帆 committed 2026-10-26 11:32:06 +08:00
1 parent 1848eed7b5
commit 48e3801809
23 files changed
+692

No files matched your search

+51
View File
@@ -0,0 +1,51 @@
# mxinit — Agent 单元 ApplicationSet(按 environments/mxinit/agents.yaml 清单生成)
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: mixingx-mxinit-agents
namespace: argocd
spec:
goTemplate: true
goTemplateOptions:
- missingkey=error
generators:
- matrix:
generators:
- git:
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
revision: release
files:
- path: environments/mxinit/agents.yaml
- list:
elementsYaml: '{{ .agents | toJson }}'
template:
metadata:
name: 'mixingx-agent-{{ .id }}'
spec:
project: default
sources:
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
targetRevision: chart-v1.0.81
path: release-charts/mixingx-agent-unit
helm:
releaseName: 'mixingx-agent-{{ .id }}'
valueFiles:
- $values/environments/_common/registry.yaml
- $values/environments/mxinit/image-version.yaml
- $values/environments/mxinit/agent-common-values.yaml
values: |
site: "{{ .id }}"
description: "{{ .description }}"
phaseType: "{{ .phaseType }}"
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
targetRevision: release
ref: values
destination:
server: https://kubernetes.default.svc
namespace: mixingx
syncPolicy:
automated:
prune: false
selfHeal: true
syncOptions:
- CreateNamespace=true