release: 新增 thai 环境(参考 sanhua,edge workerId 51,agent 盘 50Gi 适配小盘)

This commit is contained in:
ximenchuifeng committed 2026-09-29 09:33:24 +08:00
1 parent 17aef92594
commit c064fdeb7c
25 files changed
+712

No files matched your search

+51
View File
@@ -0,0 +1,51 @@
# thai — Agent 单元 ApplicationSet(按 environments/thai/agents.yaml 清单生成)
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: mixingx-thai-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/thai/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.44
path: release-charts/mixingx-agent-unit
helm:
releaseName: 'mixingx-agent-{{ .id }}'
valueFiles:
- $values/environments/_common/registry.yaml
- $values/environments/thai/image-version.yaml
- $values/environments/thai/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