feat: 添加基础测试环境的 ArgoCD 应用配置
添加了完整的 basic-test 环境配置文件,包括: - 创建了 9 个 ArgoCD Application 和 ApplicationSet 配置文件: - agents.yaml: Agent 单元应用集配置 - audit.yaml: 审计服务应用配置 - edges.yaml: Edge 单元应用集配置 - gateway.yaml: 网关服务应用配置 - infra.yaml: 基础设施应用配置 - longhorn.yaml: Longhorn 存储应用配置 - sso.yaml: SSO 单点登录应用配置 - ultra.yaml: Ultra 看板应用配置 - bootstrap/mixingx-basic-test-root.yaml: 基础测试根应用配置 - 添加了 9 个环境变量值文件: - agent-common-values.yaml: Agent 通用配置 - agents.yaml: Agent 实例定义 - audit-values.yaml: 审计服务配置 - edge-common-values.yaml: Edge 通用配置 - edges.yaml: Edge 实例定义 - gateway-values.yaml: 网关配置 - image-version.yaml: 镜像版本配置 - infra-values.yaml: 基础设施配置 - single-node-values.yaml: 单节点部署配置 - sso-values.yaml: SSO 服务配置 - ultra-values.yaml: Ultra 服务配置 这些配置支持通过 ApplicationSet 动态生成多个 Agent 和 Edge 实例, 并包含了完整的单节点测试环境部署所需的所有组件。
This commit is contained in:
1 parent
dd2237e24f
commit
e26d1934d6
20 files changed
+486
No files matched your search
@@ -0,0 +1,51 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: ApplicationSet
|
||||
metadata:
|
||||
name: mixingx-agents
|
||||
namespace: argocd
|
||||
spec:
|
||||
goTemplate: true
|
||||
goTemplateOptions:
|
||||
- missingkey=error
|
||||
generators:
|
||||
- matrix:
|
||||
generators:
|
||||
- git:
|
||||
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
revision: develop/basic-test
|
||||
files:
|
||||
- path: environments/basic-test/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: master
|
||||
path: release-charts/mixingx-agent-unit
|
||||
helm:
|
||||
releaseName: 'mixingx-agent-{{ .id }}'
|
||||
valueFiles:
|
||||
- $values/environments/basic-test/image-version.yaml
|
||||
- $values/environments/basic-test/agent-common-values.yaml
|
||||
- $values/environments/basic-test/single-node-values.yaml
|
||||
values: |
|
||||
site: "{{ .id }}"
|
||||
description: "{{ .description }}"
|
||||
phaseType: "{{ .phaseType }}"
|
||||
{{- if hasKey . "nodeLabel" }}
|
||||
nodeSelector:
|
||||
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
||||
{{- end }}
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: develop/basic-test
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
Reference in new issue
Block a user