服务清单: - gateway: ci-now develop-v.1.0.1-202609140639-9 → v1.0.68(source: develop-v.1.0.1-202610130533-10) - sso: ci-now develop-v.1.0.1-202609210842-97 → v1.0.68(source: develop-v.1.0.1-202610130534-104) - ultra: ci-now develop-v.1.0.1-202609210845-50 → v1.0.68(source: develop-v.1.0.1-202610130536-54) - audit: ci-now v1.0.15 → v1.0.68(source: develop-v.1.0.1-202610130539-19) - agent: ci-now develop-v.1.0.1-202609290125-137 → v1.0.68(source: develop-v.1.0.1-202610130541-156) - edge: ci-now v1.0.21 → v1.0.68(source: develop-v.1.0.1-202610130542-99) - wifi: ci-now develop-v.1.0.1-202609100650-37 → v1.0.68(source: develop-v.1.0.1-202610130543-40) release-notes: tuopu update operator: admin
56 lines
1.8 KiB
YAML
56 lines
1.8 KiB
YAML
# tuopu-01 — Edge 单元 ApplicationSet(按 environments/tuopu-01/edges.yaml 清单生成)
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: ApplicationSet
|
|
metadata:
|
|
name: mixingx-tuopu-01-edges
|
|
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/tuopu-01/edges.yaml
|
|
- list:
|
|
elementsYaml: '{{ .edges | toJson }}'
|
|
template:
|
|
metadata:
|
|
name: 'mixingx-edge-{{ .id }}'
|
|
spec:
|
|
project: default
|
|
sources:
|
|
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
|
targetRevision: chart-v1.0.68
|
|
path: release-charts/mixingx-edge-unit
|
|
helm:
|
|
releaseName: 'mixingx-edge-{{ .id }}'
|
|
valueFiles:
|
|
- $values/environments/_common/registry.yaml
|
|
- $values/environments/tuopu-01/image-version.yaml
|
|
- $values/environments/tuopu-01/edge-common-values.yaml
|
|
values: |
|
|
site: "{{ .id }}"
|
|
idWorkerId: {{ .idWorkerId }}
|
|
description: "{{ .description }}"
|
|
{{- if hasKey . "nodeLabel" }}
|
|
nodeSelector:
|
|
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
|
{{- end }}
|
|
- 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
|