- 118 files, 247 URL references replaced (sanhua/tuopu-01/thai-tuopu-2000-4/...) - new public mirror: https://git.mixingx-tech.com (anonymous read, auto-synced from internal gitea) - mxsanhua cluster already switched and verified Synced/Healthy
56 lines
1.8 KiB
YAML
56 lines
1.8 KiB
YAML
# mxtest — Edge 单元 ApplicationSet(按 environments/mxtest/edges.yaml 清单生成)
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: ApplicationSet
|
|
metadata:
|
|
name: mixingx-mxtest-edges
|
|
namespace: argocd
|
|
spec:
|
|
goTemplate: true
|
|
goTemplateOptions:
|
|
- missingkey=error
|
|
generators:
|
|
- matrix:
|
|
generators:
|
|
- git:
|
|
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
revision: release
|
|
files:
|
|
- path: environments/mxtest/edges.yaml
|
|
- list:
|
|
elementsYaml: '{{ .edges | toJson }}'
|
|
template:
|
|
metadata:
|
|
name: 'mixingx-edge-{{ .id }}'
|
|
spec:
|
|
project: default
|
|
sources:
|
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
targetRevision: chart-v1.0.3
|
|
path: release-charts/mixingx-edge-unit
|
|
helm:
|
|
releaseName: 'mixingx-edge-{{ .id }}'
|
|
valueFiles:
|
|
- $values/environments/_common/registry.yaml
|
|
- $values/environments/mxtest/image-version.yaml
|
|
- $values/environments/mxtest/edge-common-values.yaml
|
|
values: |
|
|
site: "{{ .id }}"
|
|
idWorkerId: {{ .idWorkerId }}
|
|
description: "{{ .description }}"
|
|
{{- if hasKey . "nodeLabel" }}
|
|
nodeSelector:
|
|
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
|
{{- end }}
|
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
targetRevision: release
|
|
ref: values
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: mixingx
|
|
syncPolicy:
|
|
automated:
|
|
prune: false
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|