Compare commits
257
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
991cb5a0a2 | ||
|
|
11820fd74e | ||
|
|
a838fa7254 | ||
|
|
e3e6bbfd39 | ||
|
|
9721fef782 | ||
|
|
704fed44b7 | ||
|
|
fa91340f26 | ||
|
|
ce1db54442 | ||
|
|
1e73416070 | ||
|
|
80059c1f1c | ||
|
|
b0cda73c97 | ||
|
|
35ca092e34 | ||
|
|
5e53186b42 | ||
|
|
77429a5d6e | ||
|
|
64ee51e6aa | ||
|
|
ec52b46a0b | ||
|
|
21491e4456 | ||
|
|
d3727a5993 | ||
|
|
b57c133b0f | ||
|
|
fd9cb2235a | ||
|
|
d7603e8aa0 | ||
|
|
fb861163df | ||
|
|
6d802af108 | ||
|
|
eec92e4677 | ||
|
|
ddd7f09932 | ||
|
|
b0c01c04db | ||
|
|
76705d346e | ||
|
|
959abb1360 | ||
|
|
460ca31cc4 | ||
|
|
39c6e778fb | ||
|
|
ac0e178b02 | ||
|
|
5e24ea7aa3 | ||
|
|
52d03387b2 | ||
|
|
48e3801809 | ||
|
|
1848eed7b5 | ||
|
|
2f3aa2ca71 | ||
|
|
84e8665bec | ||
|
|
3e01833672 | ||
|
|
ce66c6853b | ||
|
|
24f7cae9ed | ||
|
|
efb2289625 | ||
|
|
47c2897443 | ||
|
|
6f1c91927d | ||
|
|
d17673c16a | ||
|
|
0a1a99341b | ||
|
|
e735c85f4e | ||
|
|
36e8b9cdb1 | ||
|
|
5b2f72a8e2 | ||
|
|
c3b03ead03 | ||
|
|
c0dfcb7b94 | ||
|
|
07e28bb06c | ||
|
|
7c5bd75c4a | ||
|
|
61e66223f2 | ||
|
|
9feffc9d1c | ||
|
|
0a98728941 | ||
|
|
a571991d4f | ||
|
|
b509cad4ee | ||
|
|
83703c4f69 | ||
|
|
d5c99e11d3 | ||
|
|
67a1172574 | ||
|
|
8dff3ed974 | ||
|
|
e444939f3f | ||
|
|
f83e0327d5 | ||
|
|
5f6428ac55 | ||
|
|
fe649527c1 | ||
|
|
35f2cfd058 | ||
|
|
7d0e42f4ad | ||
|
|
287e7fdcd0 | ||
|
|
9819ce5f8d | ||
|
|
5f50bb51a1 | ||
|
|
4088514450 | ||
|
|
8ca755fb1e | ||
|
|
7d11765c3a | ||
|
|
66ab79dbdf | ||
|
|
ae4d2b2685 | ||
|
|
bddfff3d89 | ||
|
|
1626c66151 | ||
|
|
f913c4cd5f | ||
|
|
57036cad8e | ||
|
|
6e7fa50197 | ||
|
|
0cf6cbdb16 | ||
|
|
ce181d8a7c | ||
|
|
94a509b285 | ||
|
|
a84065f359 | ||
|
|
c064fdeb7c | ||
|
|
17aef92594 | ||
|
|
1ab691a09f | ||
|
|
da567eae6f | ||
|
|
4d15cf0419 | ||
|
|
c1c5bea318 | ||
|
|
baf3f835f2 | ||
|
|
b282693cf8 | ||
|
|
65f355776e | ||
|
|
db37827d41 | ||
|
|
cd1aa98dd1 | ||
|
|
4742773eec | ||
|
|
4abd844d8e | ||
|
|
a235dabd17 | ||
|
|
3a60725b7d | ||
|
|
834f13b2fa | ||
|
|
7e7fd4a92b | ||
|
|
78c8de2843 | ||
|
|
ed43e4bbdb | ||
|
|
60541a9ab9 | ||
|
|
ee2aa3aa87 | ||
|
|
b737aed283 | ||
|
|
24f399989e | ||
|
|
841e848de9 | ||
|
|
4c2508f909 | ||
|
|
730f35fe8f | ||
|
|
e58f9668aa | ||
|
|
e7fe273f39 | ||
|
|
026cce0df5 | ||
|
|
6fd3861104 | ||
|
|
d3414f4912 | ||
|
|
5ca8227e67 | ||
|
|
8d30c485a1 | ||
|
|
d455068113 | ||
|
|
db3485a7cc | ||
|
|
64589769ef | ||
|
|
4d26b09fdf | ||
|
|
043d5b37b3 | ||
|
|
8252523063 | ||
|
|
efa9351a96 | ||
|
|
337ef48b86 | ||
|
|
e60c3485da | ||
|
|
c82ce2ff84 | ||
|
|
00b3f070db | ||
|
|
5426b476f7 | ||
|
|
f602639a03 | ||
|
|
0c76ca3f02 | ||
|
|
b0299a7181 | ||
|
|
21617e385b | ||
|
|
718d128d9b | ||
|
|
46c8ba303f | ||
|
|
7838498b67 | ||
|
|
b78bc6afc4 | ||
|
|
05c2f38e71 | ||
|
|
5946844e1e | ||
|
|
0f7ee15e97 | ||
|
|
8909b69120 | ||
|
|
37d1862ae7 | ||
|
|
c481ec4a57 | ||
|
|
011b9e6d17 | ||
|
|
0abf8b6a66 | ||
|
|
e8c6e2822f | ||
|
|
fb83035a15 | ||
|
|
72ef59256d | ||
|
|
b6f1097d30 | ||
|
|
3549746cdc | ||
|
|
fc9297cd6b | ||
|
|
e2375a49d2 | ||
|
|
3849548087 | ||
|
|
638d1bca8f | ||
|
|
a1a1a617ff | ||
|
|
745d667c88 | ||
|
|
87b8c6a23d | ||
|
|
c2979f297e | ||
|
|
ebd7d84f56 | ||
|
|
7ba8e45db2 | ||
|
|
88befc3a31 | ||
|
|
0a9fc004ec | ||
|
|
3e008b8363 | ||
|
|
cb64dce16b | ||
|
|
420ac39dee | ||
|
|
b078eb588c | ||
|
|
f30c6edd04 | ||
|
|
e388f0a001 | ||
|
|
104de13c98 | ||
|
|
7d311fd12d | ||
|
|
2e43dbdd62 | ||
|
|
2011fc27a3 | ||
|
|
187d0ebd24 | ||
|
|
ac370539fd | ||
|
|
304d5f9f37 | ||
|
|
288cac5e6e | ||
|
|
d08fab1af2 | ||
|
|
7ff560b964 | ||
|
|
a18565e546 | ||
|
|
08e4668ec1 | ||
|
|
48c08abb17 | ||
|
|
20f662dc0e | ||
|
|
a7f3cab88b | ||
|
|
8ae86daf23 | ||
|
|
faa51d5237 | ||
|
|
14196f2c4c | ||
|
|
61bdbf4a34 | ||
|
|
59e6a53078 | ||
|
|
25e8ff6545 | ||
|
|
be0c5aa7e6 | ||
|
|
9df2d51ffb | ||
|
|
e769108a55 | ||
|
|
972e797519 | ||
|
|
6b7aab18e7 | ||
|
|
2362b51bbe | ||
|
|
2410e6666a | ||
|
|
186147cb1e | ||
|
|
2e8faed377 | ||
|
|
500595e44a | ||
|
|
1bdba135c8 | ||
|
|
369dabe03e | ||
|
|
6b15b83734 | ||
|
|
4ab3dec306 | ||
|
|
f459a4a540 | ||
|
|
9bfa27b530 | ||
|
|
7bb415d9ce | ||
|
|
e4529d00dd | ||
|
|
fcb63fe5f1 | ||
|
|
d7d8bd57f0 | ||
|
|
00cbf1771a | ||
|
|
440ad8d617 | ||
|
|
721baace46 | ||
|
|
a059c96528 | ||
|
|
324752c09e | ||
|
|
6c5e9b4403 | ||
|
|
ef6ecc2860 | ||
|
|
145b1c1311 | ||
|
|
f4f34013af | ||
|
|
74324d6e18 | ||
|
|
4c9a3ca763 | ||
|
|
b8f2839f7a | ||
|
|
abbeaa7e1c | ||
|
|
8f9c47e1ae | ||
|
|
865e5150d0 | ||
|
|
f5e18f81b6 | ||
|
|
3c6c37ebec | ||
|
|
aa73caf613 | ||
|
|
94f88b6978 | ||
|
|
7f4489747a | ||
|
|
93563fdd74 | ||
|
|
e99081b83d | ||
|
|
5bdf25c107 | ||
|
|
6a64d4bf0a | ||
|
|
7db44145ba | ||
|
|
dc88e7c4e2 | ||
|
|
a66491cd4f | ||
|
|
22da325a1c | ||
|
|
c15a836ef9 | ||
|
|
cc803be9dc | ||
|
|
f4dfc21beb | ||
|
|
e18d714efe | ||
|
|
520f14f87a | ||
|
|
cd4fb979a1 | ||
|
|
dd562f9999 | ||
|
|
c281edc559 | ||
|
|
a0e2458691 | ||
|
|
7e144debec | ||
|
|
87c3079b29 | ||
|
|
5bfb9c4c0d | ||
|
|
9e4c900e6c | ||
|
|
a756623d47 | ||
|
|
240561a7bc | ||
|
|
c77e0fc832 | ||
|
|
0b355da998 | ||
|
|
cd309ee611 | ||
|
|
6dcd9bb86d | ||
|
|
b976227329 |
No files matched your search
@@ -1,43 +0,0 @@
|
|||||||
# MixingX Deploy
|
|
||||||
|
|
||||||
This repository is the GitOps environment state for MixingX deployments.
|
|
||||||
|
|
||||||
Responsibilities:
|
|
||||||
|
|
||||||
- `applications/`: Argo CD Application manifests.
|
|
||||||
- `environments/`: environment-specific Helm values.
|
|
||||||
- Helm chart templates live in `mixingx.hub.chart.git`.
|
|
||||||
- Application source code and CI live in `mixingx.hub.git`.
|
|
||||||
|
|
||||||
Demo environment:
|
|
||||||
|
|
||||||
1. Register both repositories in Argo CD:
|
|
||||||
- `https://gitee.com/mixing-tech/mixingx.deploy.git`
|
|
||||||
- `https://gitee.com/mixing-tech/mixingx.hub.chart.git`
|
|
||||||
2. Apply or create `bootstrap/mixingx-demo-root.yaml`.
|
|
||||||
3. Argo CD will create/sync the applications under `applications/`.
|
|
||||||
|
|
||||||
Agent and edge fleets:
|
|
||||||
|
|
||||||
- `applications/agents.yaml` is an Argo CD ApplicationSet.
|
|
||||||
- `applications/edges.yaml` is an Argo CD ApplicationSet.
|
|
||||||
- `environments/demo/agent-common-values.yaml` contains shared Helm values for all agents.
|
|
||||||
- `environments/demo/edge-common-values.yaml` contains shared Helm values for all edges.
|
|
||||||
- Add or remove agent or edge instances by editing `spec.generators[0].list.elements` in the matching ApplicationSet.
|
|
||||||
- Prefer `nodeLabel` over `nodeName`; label the target node so Kubernetes scheduler can still bind local-path PVCs.
|
|
||||||
|
|
||||||
Example:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
kubectl label node node1 mixingx.io/edge-node=shanghai
|
|
||||||
```
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
- id: shanghai
|
|
||||||
description: Shanghai Agent
|
|
||||||
nodeLabel: shanghai
|
|
||||||
|
|
||||||
- id: beijing
|
|
||||||
description: Beijing Edge
|
|
||||||
nodeLabel: beijing
|
|
||||||
```
|
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
# daye — Agent 单元 ApplicationSet(按 environments/daye/agents.yaml 清单生成)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: ApplicationSet
|
||||||
|
metadata:
|
||||||
|
name: mixingx-daye-agents
|
||||||
|
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/daye/agents.yaml
|
||||||
|
- list:
|
||||||
|
elementsYaml: '{{ .agents | toJson }}'
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
name: 'mixingx-agent-{{ .id }}'
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.101
|
||||||
|
path: release-charts/mixingx-agent-unit
|
||||||
|
helm:
|
||||||
|
releaseName: 'mixingx-agent-{{ .id }}'
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/daye/image-version.yaml
|
||||||
|
- $values/environments/daye/agent-common-values.yaml
|
||||||
|
values: |
|
||||||
|
site: "{{ .id }}"
|
||||||
|
description: "{{ .description }}"
|
||||||
|
phaseType: "{{ .phaseType }}"
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# daye — mixingx-audit(客户环境 Application,ADR-0068)
|
||||||
|
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+daye / deploy 钉 release 分支 /
|
||||||
|
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-audit
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.101
|
||||||
|
path: release-charts/mixingx-audit
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-audit
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/daye/image-version.yaml
|
||||||
|
- $values/environments/daye/audit-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,68 @@
|
|||||||
|
# daye — Edge 单元 ApplicationSet(按 environments/daye/edges.yaml 清单生成)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: ApplicationSet
|
||||||
|
metadata:
|
||||||
|
name: mixingx-daye-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/daye/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.101
|
||||||
|
path: release-charts/mixingx-edge-unit
|
||||||
|
helm:
|
||||||
|
releaseName: 'mixingx-edge-{{ .id }}'
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/daye/image-version.yaml
|
||||||
|
- $values/environments/daye/edge-common-values.yaml
|
||||||
|
values: |
|
||||||
|
site: "{{ .id }}"
|
||||||
|
idWorkerId: {{ .idWorkerId }}
|
||||||
|
description: "{{ .description }}"
|
||||||
|
{{- if hasKey . "nodeLabel" }}
|
||||||
|
nodeSelector:
|
||||||
|
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
||||||
|
{{- end }}
|
||||||
|
{{- /* ADS Router 逐实例身份透传(chart 默认 enabled=true):实例缺 adsRouter
|
||||||
|
身份时不在此兜底,由 chart 渲染守卫明确拒绝。 */ -}}
|
||||||
|
{{- if hasKey . "adsRouter" }}
|
||||||
|
adsRouter:
|
||||||
|
localNetId: "{{ .adsRouter.localNetId }}"
|
||||||
|
publicAddress: "{{ .adsRouter.publicAddress }}"
|
||||||
|
{{- if hasKey .adsRouter "clientEndPoint" }}
|
||||||
|
clientEndPoint: "{{ .adsRouter.clientEndPoint }}"
|
||||||
|
{{- end }}
|
||||||
|
{{- if hasKey .adsRouter "externalPort" }}
|
||||||
|
externalPort: {{ .adsRouter.externalPort }}
|
||||||
|
{{- end }}
|
||||||
|
{{- 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
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# daye — mixingx-gateway(客户环境 Application,ADR-0068)
|
||||||
|
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+daye / deploy 钉 release 分支 /
|
||||||
|
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-gateway
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.101
|
||||||
|
path: release-charts/mixingx-gateway
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-gateway
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/daye/image-version.yaml
|
||||||
|
- $values/environments/daye/gateway-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# daye — mixingx-infra(客户环境 Application,ADR-0068)
|
||||||
|
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+daye / deploy 钉 release 分支 /
|
||||||
|
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-infra
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.101
|
||||||
|
path: release-charts/mixingx-infra
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-infra
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/daye/image-version.yaml
|
||||||
|
- $values/environments/daye/infra-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
# daye — MQTTX 调试客户端
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-mqttx
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.101
|
||||||
|
path: release-charts/mixingx-mqttx
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-mqttx
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/daye/mqttx-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-network-agent
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: master
|
||||||
|
path: release-charts/mixingx-network-agent
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-network-agent
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/daye/network-agent-values.yaml
|
||||||
|
- 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
|
||||||
@@ -1,20 +1,20 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
apiVersion: argoproj.io/v1alpha1
|
||||||
kind: Application
|
kind: Application
|
||||||
metadata:
|
metadata:
|
||||||
name: mixingx-dev-root
|
name: daye-root
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
||||||
targetRevision: master
|
targetRevision: release
|
||||||
path: applications/dev
|
path: applications/daye
|
||||||
|
directory:
|
||||||
|
exclude: "root.yaml"
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
automated:
|
automated:
|
||||||
prune: false
|
prune: false
|
||||||
selfHeal: true
|
selfHeal: false
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# daye — mixingx-sso(客户环境 Application,ADR-0068)
|
||||||
|
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+daye / deploy 钉 release 分支 /
|
||||||
|
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-sso
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.101
|
||||||
|
path: release-charts/mixingx-sso
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-sso
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/daye/image-version.yaml
|
||||||
|
- $values/environments/daye/sso-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# daye — mixingx-ultra(客户环境 Application,ADR-0068)
|
||||||
|
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+daye / deploy 钉 release 分支 /
|
||||||
|
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-ultra
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.101
|
||||||
|
path: release-charts/mixingx-ultra
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-ultra
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/daye/image-version.yaml
|
||||||
|
- $values/environments/daye/ultra-values.yaml
|
||||||
|
- 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
|
||||||
@@ -11,7 +11,7 @@ spec:
|
|||||||
- matrix:
|
- matrix:
|
||||||
generators:
|
generators:
|
||||||
- git:
|
- git:
|
||||||
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
||||||
revision: master
|
revision: master
|
||||||
files:
|
files:
|
||||||
- path: environments/demo/agents.yaml
|
- path: environments/demo/agents.yaml
|
||||||
@@ -23,7 +23,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
sources:
|
sources:
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
path: release-charts/mixingx-agent-unit
|
path: release-charts/mixingx-agent-unit
|
||||||
helm:
|
helm:
|
||||||
@@ -35,16 +35,11 @@ spec:
|
|||||||
site: "{{ .id }}"
|
site: "{{ .id }}"
|
||||||
description: "{{ .description }}"
|
description: "{{ .description }}"
|
||||||
phaseType: "{{ .phaseType }}"
|
phaseType: "{{ .phaseType }}"
|
||||||
sharedInfra:
|
|
||||||
postgres:
|
|
||||||
appUsername: "{{ .databaseUsername }}"
|
|
||||||
credentialsSecret:
|
|
||||||
name: "{{ .postgresCredentialsSecret }}"
|
|
||||||
{{- if hasKey . "nodeLabel" }}
|
{{- if hasKey . "nodeLabel" }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
ref: values
|
ref: values
|
||||||
destination:
|
destination:
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
sources:
|
sources:
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
path: release-charts/mixingx-audit
|
path: release-charts/mixingx-audit
|
||||||
helm:
|
helm:
|
||||||
@@ -14,7 +14,7 @@ spec:
|
|||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/environments/demo/image-version.yaml
|
- $values/environments/demo/image-version.yaml
|
||||||
- $values/environments/demo/audit-values.yaml
|
- $values/environments/demo/audit-values.yaml
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
ref: values
|
ref: values
|
||||||
destination:
|
destination:
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
sources:
|
sources:
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
path: release-charts/mixingx-platform
|
path: release-charts/mixingx-platform
|
||||||
helm:
|
helm:
|
||||||
@@ -14,7 +14,7 @@ spec:
|
|||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/environments/demo/image-version.yaml
|
- $values/environments/demo/image-version.yaml
|
||||||
- $values/environments/demo/platform-values.yaml
|
- $values/environments/demo/platform-values.yaml
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
ref: values
|
ref: values
|
||||||
destination:
|
destination:
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ spec:
|
|||||||
- matrix:
|
- matrix:
|
||||||
generators:
|
generators:
|
||||||
- git:
|
- git:
|
||||||
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
||||||
revision: master
|
revision: master
|
||||||
files:
|
files:
|
||||||
- path: environments/demo/edges.yaml
|
- path: environments/demo/edges.yaml
|
||||||
@@ -23,7 +23,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
sources:
|
sources:
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
path: release-charts/mixingx-edge-unit
|
path: release-charts/mixingx-edge-unit
|
||||||
helm:
|
helm:
|
||||||
@@ -39,7 +39,7 @@ spec:
|
|||||||
nodeSelector:
|
nodeSelector:
|
||||||
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
ref: values
|
ref: values
|
||||||
destination:
|
destination:
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
sources:
|
sources:
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
path: release-charts/mixingx-gateway
|
path: release-charts/mixingx-gateway
|
||||||
helm:
|
helm:
|
||||||
@@ -14,7 +14,7 @@ spec:
|
|||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/environments/demo/image-version.yaml
|
- $values/environments/demo/image-version.yaml
|
||||||
- $values/environments/demo/gateway-values.yaml
|
- $values/environments/demo/gateway-values.yaml
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
ref: values
|
ref: values
|
||||||
destination:
|
destination:
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
sources:
|
sources:
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
path: release-charts/mixingx-infra
|
path: release-charts/mixingx-infra
|
||||||
helm:
|
helm:
|
||||||
@@ -14,7 +14,7 @@ spec:
|
|||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/environments/demo/image-version.yaml
|
- $values/environments/demo/image-version.yaml
|
||||||
- $values/environments/demo/infra-values.yaml
|
- $values/environments/demo/infra-values.yaml
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
ref: values
|
ref: values
|
||||||
destination:
|
destination:
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
path: networking/longhorn-ui
|
path: networking/longhorn-ui
|
||||||
destination:
|
destination:
|
||||||
|
|||||||
@@ -0,0 +1,25 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-mqttx
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: master
|
||||||
|
path: release-charts/mixingx-mqttx
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-mqttx
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/demo/image-version.yaml
|
||||||
|
- $values/environments/demo/mqttx-values.yaml
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
||||||
|
targetRevision: master
|
||||||
|
ref: values
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: mixingx
|
||||||
|
syncPolicy:
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
@@ -11,7 +11,7 @@ spec:
|
|||||||
- matrix:
|
- matrix:
|
||||||
generators:
|
generators:
|
||||||
- git:
|
- git:
|
||||||
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
||||||
revision: master
|
revision: master
|
||||||
files:
|
files:
|
||||||
- path: environments/demo/protocol-servers.yaml
|
- path: environments/demo/protocol-servers.yaml
|
||||||
@@ -23,7 +23,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
sources:
|
sources:
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
path: release-charts/mixingx-protocol-server-unit
|
path: release-charts/mixingx-protocol-server-unit
|
||||||
helm:
|
helm:
|
||||||
@@ -46,7 +46,7 @@ spec:
|
|||||||
nodeSelector:
|
nodeSelector:
|
||||||
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
ref: values
|
ref: values
|
||||||
destination:
|
destination:
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
sources:
|
sources:
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
path: release-charts/mixingx-sso
|
path: release-charts/mixingx-sso
|
||||||
helm:
|
helm:
|
||||||
@@ -14,7 +14,7 @@ spec:
|
|||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/environments/demo/image-version.yaml
|
- $values/environments/demo/image-version.yaml
|
||||||
- $values/environments/demo/sso-values.yaml
|
- $values/environments/demo/sso-values.yaml
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
ref: values
|
ref: values
|
||||||
destination:
|
destination:
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
path: storageclasses
|
path: storageclasses
|
||||||
destination:
|
destination:
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
sources:
|
sources:
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
path: release-charts/mixingx-ultra
|
path: release-charts/mixingx-ultra
|
||||||
helm:
|
helm:
|
||||||
@@ -14,7 +14,7 @@ spec:
|
|||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/environments/demo/image-version.yaml
|
- $values/environments/demo/image-version.yaml
|
||||||
- $values/environments/demo/ultra-values.yaml
|
- $values/environments/demo/ultra-values.yaml
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
ref: values
|
ref: values
|
||||||
destination:
|
destination:
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ spec:
|
|||||||
- matrix:
|
- matrix:
|
||||||
generators:
|
generators:
|
||||||
- git:
|
- git:
|
||||||
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
||||||
revision: master
|
revision: master
|
||||||
files:
|
files:
|
||||||
- path: environments/dev/agents.yaml
|
- path: environments/dev/agents.yaml
|
||||||
@@ -23,7 +23,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
sources:
|
sources:
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
path: release-charts/mixingx-agent-unit
|
path: release-charts/mixingx-agent-unit
|
||||||
helm:
|
helm:
|
||||||
@@ -35,16 +35,11 @@ spec:
|
|||||||
site: "{{ .id }}"
|
site: "{{ .id }}"
|
||||||
description: "{{ .description }}"
|
description: "{{ .description }}"
|
||||||
phaseType: "{{ .phaseType }}"
|
phaseType: "{{ .phaseType }}"
|
||||||
sharedInfra:
|
|
||||||
postgres:
|
|
||||||
appUsername: "{{ .databaseUsername }}"
|
|
||||||
credentialsSecret:
|
|
||||||
name: "{{ .postgresCredentialsSecret }}"
|
|
||||||
{{- if .nodeLabel }}
|
{{- if .nodeLabel }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
ref: values
|
ref: values
|
||||||
destination:
|
destination:
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ spec:
|
|||||||
- matrix:
|
- matrix:
|
||||||
generators:
|
generators:
|
||||||
- git:
|
- git:
|
||||||
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
||||||
revision: master
|
revision: master
|
||||||
files:
|
files:
|
||||||
- path: environments/dev/edges.yaml
|
- path: environments/dev/edges.yaml
|
||||||
@@ -23,7 +23,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
sources:
|
sources:
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
path: release-charts/mixingx-edge-unit
|
path: release-charts/mixingx-edge-unit
|
||||||
helm:
|
helm:
|
||||||
@@ -39,7 +39,7 @@ spec:
|
|||||||
nodeSelector:
|
nodeSelector:
|
||||||
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
ref: values
|
ref: values
|
||||||
destination:
|
destination:
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
sources:
|
sources:
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
path: release-charts/mixingx-platform
|
path: release-charts/mixingx-platform
|
||||||
helm:
|
helm:
|
||||||
@@ -14,7 +14,7 @@ spec:
|
|||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/environments/dev/image-version.yaml
|
- $values/environments/dev/image-version.yaml
|
||||||
- $values/environments/dev/platform-values.yaml
|
- $values/environments/dev/platform-values.yaml
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
ref: values
|
ref: values
|
||||||
destination:
|
destination:
|
||||||
|
|||||||
@@ -0,0 +1,21 @@
|
|||||||
|
# mxfoxconn850t1 客户特例:独立小 Application,只管理 environments/mxfoxconn850t1/extras/agent-postgres-lb/ 下的
|
||||||
|
# agent-mxfoxconn850t1-postgres-lb LoadBalancer Service。不挂进 agents ApplicationSet,
|
||||||
|
# 避免未来 mxfoxconn850t1 增加第二个 agent 时被重复渲染。
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mxfoxconn850t1-agent-postgres-lb
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
source:
|
||||||
|
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
||||||
|
targetRevision: release
|
||||||
|
path: environments/mxfoxconn850t1/extras/agent-postgres-lb
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: mixingx
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: false
|
||||||
|
selfHeal: true
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
# mxfoxconn850t1 — Agent 单元 ApplicationSet(按 environments/mxfoxconn850t1/agents.yaml 清单生成)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: ApplicationSet
|
||||||
|
metadata:
|
||||||
|
name: mixingx-mxfoxconn850t1-agents
|
||||||
|
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/mxfoxconn850t1/agents.yaml
|
||||||
|
- list:
|
||||||
|
elementsYaml: '{{ .agents | toJson }}'
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
name: 'mixingx-agent-{{ .id }}'
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.90
|
||||||
|
path: release-charts/mixingx-agent-unit
|
||||||
|
helm:
|
||||||
|
releaseName: 'mixingx-agent-{{ .id }}'
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/mxfoxconn850t1/image-version.yaml
|
||||||
|
- $values/environments/mxfoxconn850t1/agent-common-values.yaml
|
||||||
|
values: |
|
||||||
|
site: "{{ .id }}"
|
||||||
|
description: "{{ .description }}"
|
||||||
|
phaseType: "{{ .phaseType }}"
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# mxfoxconn850t1 — mixingx-audit(客户环境 Application,ADR-0068)
|
||||||
|
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxfoxconn850t1 / deploy 钉 release 分支 /
|
||||||
|
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-audit
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.90
|
||||||
|
path: release-charts/mixingx-audit
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-audit
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/mxfoxconn850t1/image-version.yaml
|
||||||
|
- $values/environments/mxfoxconn850t1/audit-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,55 @@
|
|||||||
|
# mxfoxconn850t1 — Edge 单元 ApplicationSet(按 environments/mxfoxconn850t1/edges.yaml 清单生成)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: ApplicationSet
|
||||||
|
metadata:
|
||||||
|
name: mixingx-mxfoxconn850t1-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/mxfoxconn850t1/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.90
|
||||||
|
path: release-charts/mixingx-edge-unit
|
||||||
|
helm:
|
||||||
|
releaseName: 'mixingx-edge-{{ .id }}'
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/mxfoxconn850t1/image-version.yaml
|
||||||
|
- $values/environments/mxfoxconn850t1/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
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# mxfoxconn850t1 — mixingx-gateway(客户环境 Application,ADR-0068)
|
||||||
|
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxfoxconn850t1 / deploy 钉 release 分支 /
|
||||||
|
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-gateway
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.90
|
||||||
|
path: release-charts/mixingx-gateway
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-gateway
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/mxfoxconn850t1/image-version.yaml
|
||||||
|
- $values/environments/mxfoxconn850t1/gateway-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# mxfoxconn850t1 — mixingx-infra(客户环境 Application,ADR-0068)
|
||||||
|
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxfoxconn850t1 / deploy 钉 release 分支 /
|
||||||
|
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-infra
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.90
|
||||||
|
path: release-charts/mixingx-infra
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-infra
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/mxfoxconn850t1/image-version.yaml
|
||||||
|
- $values/environments/mxfoxconn850t1/infra-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
# mxfoxconn850t1 — MQTTX 调试客户端
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-mqttx
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.90
|
||||||
|
path: release-charts/mixingx-mqttx
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-mqttx
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/mxfoxconn850t1/mqttx-values.yaml
|
||||||
|
- 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
|
||||||
+5
-5
@@ -6,16 +6,16 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
sources:
|
sources:
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
path: release-charts/mixingx-network-agent
|
path: release-charts/mixingx-network-agent
|
||||||
helm:
|
helm:
|
||||||
releaseName: mixingx-network-agent
|
releaseName: mixingx-network-agent
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/environments/basic-test/image-version.yaml
|
- $values/environments/_common/registry.yaml
|
||||||
- $values/environments/basic-test/network-agent-values.yaml
|
- $values/environments/mxfoxconn850t1/network-agent-values.yaml
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
||||||
targetRevision: develop/basic-test
|
targetRevision: release
|
||||||
ref: values
|
ref: values
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mxfoxconn850t1-root
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
source:
|
||||||
|
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
||||||
|
targetRevision: release
|
||||||
|
path: applications/mxfoxconn850t1
|
||||||
|
directory:
|
||||||
|
exclude: "root.yaml"
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: argocd
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: false
|
||||||
|
selfHeal: false
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# mxfoxconn850t1 — mixingx-sso(客户环境 Application,ADR-0068)
|
||||||
|
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxfoxconn850t1 / deploy 钉 release 分支 /
|
||||||
|
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-sso
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.90
|
||||||
|
path: release-charts/mixingx-sso
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-sso
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/mxfoxconn850t1/image-version.yaml
|
||||||
|
- $values/environments/mxfoxconn850t1/sso-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# mxfoxconn850t1 — mixingx-ultra(客户环境 Application,ADR-0068)
|
||||||
|
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxfoxconn850t1 / deploy 钉 release 分支 /
|
||||||
|
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-ultra
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.90
|
||||||
|
path: release-charts/mixingx-ultra
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-ultra
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/mxfoxconn850t1/image-version.yaml
|
||||||
|
- $values/environments/mxfoxconn850t1/ultra-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
# mxlexus — Agent 单元 ApplicationSet(按 environments/mxlexus/agents.yaml 清单生成)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: ApplicationSet
|
||||||
|
metadata:
|
||||||
|
name: mixingx-mxlexus-agents
|
||||||
|
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/mxlexus/agents.yaml
|
||||||
|
- list:
|
||||||
|
elementsYaml: '{{ .agents | toJson }}'
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
name: 'mixingx-agent-{{ .id }}'
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.103
|
||||||
|
path: release-charts/mixingx-agent-unit
|
||||||
|
helm:
|
||||||
|
releaseName: 'mixingx-agent-{{ .id }}'
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/mxlexus/image-version.yaml
|
||||||
|
- $values/environments/mxlexus/agent-common-values.yaml
|
||||||
|
values: |
|
||||||
|
site: "{{ .id }}"
|
||||||
|
description: "{{ .description }}"
|
||||||
|
phaseType: "{{ .phaseType }}"
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# mxlexus — mixingx-audit(客户环境 Application,ADR-0068)
|
||||||
|
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxlexus / deploy 钉 release 分支 /
|
||||||
|
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-audit
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.103
|
||||||
|
path: release-charts/mixingx-audit
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-audit
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/mxlexus/image-version.yaml
|
||||||
|
- $values/environments/mxlexus/audit-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,68 @@
|
|||||||
|
# mxlexus — Edge 单元 ApplicationSet(按 environments/mxlexus/edges.yaml 清单生成)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: ApplicationSet
|
||||||
|
metadata:
|
||||||
|
name: mixingx-mxlexus-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/mxlexus/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.103
|
||||||
|
path: release-charts/mixingx-edge-unit
|
||||||
|
helm:
|
||||||
|
releaseName: 'mixingx-edge-{{ .id }}'
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/mxlexus/image-version.yaml
|
||||||
|
- $values/environments/mxlexus/edge-common-values.yaml
|
||||||
|
values: |
|
||||||
|
site: "{{ .id }}"
|
||||||
|
idWorkerId: {{ .idWorkerId }}
|
||||||
|
description: "{{ .description }}"
|
||||||
|
{{- if hasKey . "nodeLabel" }}
|
||||||
|
nodeSelector:
|
||||||
|
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
||||||
|
{{- end }}
|
||||||
|
{{- /* ADS Router 逐实例身份透传(chart 默认 enabled=true):实例缺 adsRouter
|
||||||
|
身份时不在此兜底,由 chart 渲染守卫明确拒绝。 */ -}}
|
||||||
|
{{- if hasKey . "adsRouter" }}
|
||||||
|
adsRouter:
|
||||||
|
localNetId: "{{ .adsRouter.localNetId }}"
|
||||||
|
publicAddress: "{{ .adsRouter.publicAddress }}"
|
||||||
|
{{- if hasKey .adsRouter "clientEndPoint" }}
|
||||||
|
clientEndPoint: "{{ .adsRouter.clientEndPoint }}"
|
||||||
|
{{- end }}
|
||||||
|
{{- if hasKey .adsRouter "externalPort" }}
|
||||||
|
externalPort: {{ .adsRouter.externalPort }}
|
||||||
|
{{- end }}
|
||||||
|
{{- 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
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# mxlexus — mixingx-gateway(客户环境 Application,ADR-0068)
|
||||||
|
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxlexus / deploy 钉 release 分支 /
|
||||||
|
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-gateway
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.103
|
||||||
|
path: release-charts/mixingx-gateway
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-gateway
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/mxlexus/image-version.yaml
|
||||||
|
- $values/environments/mxlexus/gateway-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# mxlexus — mixingx-infra(客户环境 Application,ADR-0068)
|
||||||
|
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxlexus / deploy 钉 release 分支 /
|
||||||
|
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-infra
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.103
|
||||||
|
path: release-charts/mixingx-infra
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-infra
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/mxlexus/image-version.yaml
|
||||||
|
- $values/environments/mxlexus/infra-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
# mxlexus — MQTTX 调试客户端(暴露:经 tailscale http://100.64.0.17:8082;终配后改企业网地址)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-mqttx
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.103
|
||||||
|
path: release-charts/mixingx-mqttx
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-mqttx
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/mxlexus/mqttx-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-network-agent
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: master
|
||||||
|
path: release-charts/mixingx-network-agent
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-network-agent
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/mxlexus/network-agent-values.yaml
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
||||||
|
targetRevision: release
|
||||||
|
ref: values
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: mixingx
|
||||||
|
syncPolicy:
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mxlexus-root
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
source:
|
||||||
|
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
||||||
|
targetRevision: release
|
||||||
|
path: applications/mxlexus
|
||||||
|
directory:
|
||||||
|
exclude: "root.yaml"
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: argocd
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: false
|
||||||
|
selfHeal: false
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# mxlexus — mixingx-sso(客户环境 Application,ADR-0068)
|
||||||
|
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxlexus / deploy 钉 release 分支 /
|
||||||
|
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-sso
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.103
|
||||||
|
path: release-charts/mixingx-sso
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-sso
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/mxlexus/image-version.yaml
|
||||||
|
- $values/environments/mxlexus/sso-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# mxlexus — mixingx-ultra(客户环境 Application,ADR-0068)
|
||||||
|
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxlexus / deploy 钉 release 分支 /
|
||||||
|
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-ultra
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.103
|
||||||
|
path: release-charts/mixingx-ultra
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-ultra
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/mxlexus/image-version.yaml
|
||||||
|
- $values/environments/mxlexus/ultra-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
# mxlexus2 — Agent 单元 ApplicationSet(按 environments/mxlexus2/agents.yaml 清单生成)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: ApplicationSet
|
||||||
|
metadata:
|
||||||
|
name: mixingx-mxlexus2-agents
|
||||||
|
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/mxlexus2/agents.yaml
|
||||||
|
- list:
|
||||||
|
elementsYaml: '{{ .agents | toJson }}'
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
name: 'mixingx-agent-{{ .id }}'
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.73
|
||||||
|
path: release-charts/mixingx-agent-unit
|
||||||
|
helm:
|
||||||
|
releaseName: 'mixingx-agent-{{ .id }}'
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/mxlexus2/image-version.yaml
|
||||||
|
- $values/environments/mxlexus2/agent-common-values.yaml
|
||||||
|
values: |
|
||||||
|
site: "{{ .id }}"
|
||||||
|
description: "{{ .description }}"
|
||||||
|
phaseType: "{{ .phaseType }}"
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# mxlexus2 — mixingx-audit(客户环境 Application,ADR-0068)
|
||||||
|
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxlexus2 / deploy 钉 release 分支 /
|
||||||
|
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-audit
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.15
|
||||||
|
path: release-charts/mixingx-audit
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-audit
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/mxlexus2/image-version.yaml
|
||||||
|
- $values/environments/mxlexus2/audit-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,68 @@
|
|||||||
|
# mxlexus2 — Edge 单元 ApplicationSet(按 environments/mxlexus2/edges.yaml 清单生成)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: ApplicationSet
|
||||||
|
metadata:
|
||||||
|
name: mixingx-mxlexus2-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/mxlexus2/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.66
|
||||||
|
path: release-charts/mixingx-edge-unit
|
||||||
|
helm:
|
||||||
|
releaseName: 'mixingx-edge-{{ .id }}'
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/mxlexus2/image-version.yaml
|
||||||
|
- $values/environments/mxlexus2/edge-common-values.yaml
|
||||||
|
values: |
|
||||||
|
site: "{{ .id }}"
|
||||||
|
idWorkerId: {{ .idWorkerId }}
|
||||||
|
description: "{{ .description }}"
|
||||||
|
{{- if hasKey . "nodeLabel" }}
|
||||||
|
nodeSelector:
|
||||||
|
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
||||||
|
{{- end }}
|
||||||
|
{{- /* ADS Router 逐实例身份透传(chart 默认 enabled=true):实例缺 adsRouter
|
||||||
|
身份时不在此兜底,由 chart 渲染守卫明确拒绝。 */ -}}
|
||||||
|
{{- if hasKey . "adsRouter" }}
|
||||||
|
adsRouter:
|
||||||
|
localNetId: "{{ .adsRouter.localNetId }}"
|
||||||
|
publicAddress: "{{ .adsRouter.publicAddress }}"
|
||||||
|
{{- if hasKey .adsRouter "clientEndPoint" }}
|
||||||
|
clientEndPoint: "{{ .adsRouter.clientEndPoint }}"
|
||||||
|
{{- end }}
|
||||||
|
{{- if hasKey .adsRouter "externalPort" }}
|
||||||
|
externalPort: {{ .adsRouter.externalPort }}
|
||||||
|
{{- end }}
|
||||||
|
{{- 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
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# mxlexus2 — mixingx-gateway(客户环境 Application,ADR-0068)
|
||||||
|
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxlexus2 / deploy 钉 release 分支 /
|
||||||
|
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-gateway
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.18
|
||||||
|
path: release-charts/mixingx-gateway
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-gateway
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/mxlexus2/image-version.yaml
|
||||||
|
- $values/environments/mxlexus2/gateway-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# mxlexus2 — mixingx-infra(客户环境 Application,ADR-0068)
|
||||||
|
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxlexus2 / deploy 钉 release 分支 /
|
||||||
|
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-infra
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.73
|
||||||
|
path: release-charts/mixingx-infra
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-infra
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/mxlexus2/image-version.yaml
|
||||||
|
- $values/environments/mxlexus2/infra-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
# mxlexus2 — MQTTX 调试客户端(暴露:经 tailscale http://100.64.0.17:8082;终配后改企业网地址)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-mqttx
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.73
|
||||||
|
path: release-charts/mixingx-mqttx
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-mqttx
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/mxlexus2/mqttx-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-network-agent
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: master
|
||||||
|
path: release-charts/mixingx-network-agent
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-network-agent
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/mxlexus2/network-agent-values.yaml
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
||||||
|
targetRevision: release
|
||||||
|
ref: values
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: mixingx
|
||||||
|
syncPolicy:
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mxlexus2-root
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
source:
|
||||||
|
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
||||||
|
targetRevision: release
|
||||||
|
path: applications/mxlexus2
|
||||||
|
directory:
|
||||||
|
exclude: "root.yaml"
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: argocd
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: false
|
||||||
|
selfHeal: false
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# mxlexus2 — mixingx-sso(客户环境 Application,ADR-0068)
|
||||||
|
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxlexus2 / deploy 钉 release 分支 /
|
||||||
|
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-sso
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.51
|
||||||
|
path: release-charts/mixingx-sso
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-sso
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/mxlexus2/image-version.yaml
|
||||||
|
- $values/environments/mxlexus2/sso-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# mxlexus2 — mixingx-ultra(客户环境 Application,ADR-0068)
|
||||||
|
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxlexus2 / deploy 钉 release 分支 /
|
||||||
|
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-ultra
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.43
|
||||||
|
path: release-charts/mixingx-ultra
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-ultra
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/mxlexus2/image-version.yaml
|
||||||
|
- $values/environments/mxlexus2/ultra-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
# mxtest — Agent 单元 ApplicationSet(按 environments/mxtest/agents.yaml 清单生成)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: ApplicationSet
|
||||||
|
metadata:
|
||||||
|
name: mixingx-mxtest-agents
|
||||||
|
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/agents.yaml
|
||||||
|
- list:
|
||||||
|
elementsYaml: '{{ .agents | toJson }}'
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
name: 'mixingx-agent-{{ .id }}'
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.32
|
||||||
|
path: release-charts/mixingx-agent-unit
|
||||||
|
helm:
|
||||||
|
releaseName: 'mixingx-agent-{{ .id }}'
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/mxtest/image-version.yaml
|
||||||
|
- $values/environments/mxtest/agent-common-values.yaml
|
||||||
|
values: |
|
||||||
|
site: "{{ .id }}"
|
||||||
|
description: "{{ .description }}"
|
||||||
|
phaseType: "{{ .phaseType }}"
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# mxtest — mixingx-audit(客户环境 Application,ADR-0068)
|
||||||
|
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxtest / deploy 钉 release 分支 /
|
||||||
|
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-audit
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.7
|
||||||
|
path: release-charts/mixingx-audit
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-audit
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/mxtest/image-version.yaml
|
||||||
|
- $values/environments/mxtest/audit-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,55 @@
|
|||||||
|
# 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
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# mxtest — mixingx-gateway(客户环境 Application,ADR-0068)
|
||||||
|
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxtest / deploy 钉 release 分支 /
|
||||||
|
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-gateway
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.13
|
||||||
|
path: release-charts/mixingx-gateway
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-gateway
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/mxtest/image-version.yaml
|
||||||
|
- $values/environments/mxtest/gateway-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# mxtest — mixingx-infra(客户环境 Application,ADR-0068)
|
||||||
|
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxtest / deploy 钉 release 分支 /
|
||||||
|
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-infra
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.49
|
||||||
|
path: release-charts/mixingx-infra
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-infra
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/mxtest/image-version.yaml
|
||||||
|
- $values/environments/mxtest/infra-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
# mxtest — MQTTX 调试客户端(暴露:http://192.168.1.224:8082)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-mqttx
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.49
|
||||||
|
path: release-charts/mixingx-mqttx
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-mqttx
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/mxtest/mqttx-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-network-agent
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: master
|
||||||
|
path: release-charts/mixingx-network-agent
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-network-agent
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/mxtest/network-agent-values.yaml
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
||||||
|
targetRevision: release
|
||||||
|
ref: values
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: mixingx
|
||||||
|
syncPolicy:
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# mxtest — mixingx-sso(客户环境 Application,ADR-0068)
|
||||||
|
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxtest / deploy 钉 release 分支 /
|
||||||
|
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-sso
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.16
|
||||||
|
path: release-charts/mixingx-sso
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-sso
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/mxtest/image-version.yaml
|
||||||
|
- $values/environments/mxtest/sso-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# mxtest — mixingx-ultra(客户环境 Application,ADR-0068)
|
||||||
|
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxtest / deploy 钉 release 分支 /
|
||||||
|
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-ultra
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.6
|
||||||
|
path: release-charts/mixingx-ultra
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-ultra
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/mxtest/image-version.yaml
|
||||||
|
- $values/environments/mxtest/ultra-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
# sanhua 客户特例:独立小 Application,只管理 environments/sanhua/extras/agent-postgres-lb/ 下的
|
||||||
|
# agent-sanhua-postgres-lb LoadBalancer Service。不挂进 agents ApplicationSet,
|
||||||
|
# 避免未来 sanhua 增加第二个 agent 时被重复渲染。
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: sanhua-agent-postgres-lb
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
source:
|
||||||
|
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
||||||
|
targetRevision: release
|
||||||
|
path: environments/sanhua/extras/agent-postgres-lb
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: mixingx
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: false
|
||||||
|
selfHeal: true
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
# sanhua — Agent 单元 ApplicationSet(按 environments/sanhua/agents.yaml 清单生成)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: ApplicationSet
|
||||||
|
metadata:
|
||||||
|
name: mixingx-sanhua-agents
|
||||||
|
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/sanhua/agents.yaml
|
||||||
|
- list:
|
||||||
|
elementsYaml: '{{ .agents | toJson }}'
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
name: 'mixingx-agent-{{ .id }}'
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.100
|
||||||
|
path: release-charts/mixingx-agent-unit
|
||||||
|
helm:
|
||||||
|
releaseName: 'mixingx-agent-{{ .id }}'
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/sanhua/image-version.yaml
|
||||||
|
- $values/environments/sanhua/agent-common-values.yaml
|
||||||
|
values: |
|
||||||
|
site: "{{ .id }}"
|
||||||
|
description: "{{ .description }}"
|
||||||
|
phaseType: "{{ .phaseType }}"
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# sanhua — mixingx-audit(客户环境 Application,ADR-0068)
|
||||||
|
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+sanhua / deploy 钉 release 分支 /
|
||||||
|
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-audit
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.100
|
||||||
|
path: release-charts/mixingx-audit
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-audit
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/sanhua/image-version.yaml
|
||||||
|
- $values/environments/sanhua/audit-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,31 @@
|
|||||||
|
# sanhua — code-server 测试 IDE(浏览器版 VS Code)
|
||||||
|
# 注意:chart 锁 chart-v1.0.49(首个包含 mixingx-codeserver 的 tag);
|
||||||
|
# 其余 sanhua 应用仍在 chart-v1.0.48,下次交付晋级时对齐。
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-codeserver
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.49
|
||||||
|
path: release-charts/mixingx-codeserver
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-codeserver
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/sanhua/codeserver-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,68 @@
|
|||||||
|
# sanhua — Edge 单元 ApplicationSet(按 environments/sanhua/edges.yaml 清单生成)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: ApplicationSet
|
||||||
|
metadata:
|
||||||
|
name: mixingx-sanhua-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/sanhua/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.100
|
||||||
|
path: release-charts/mixingx-edge-unit
|
||||||
|
helm:
|
||||||
|
releaseName: 'mixingx-edge-{{ .id }}'
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/sanhua/image-version.yaml
|
||||||
|
- $values/environments/sanhua/edge-common-values.yaml
|
||||||
|
values: |
|
||||||
|
site: "{{ .id }}"
|
||||||
|
idWorkerId: {{ .idWorkerId }}
|
||||||
|
description: "{{ .description }}"
|
||||||
|
{{- if hasKey . "nodeLabel" }}
|
||||||
|
nodeSelector:
|
||||||
|
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
||||||
|
{{- end }}
|
||||||
|
{{- /* ADS Router 逐实例身份透传(chart 默认 enabled=true):实例缺 adsRouter
|
||||||
|
身份时不在此兜底,由 chart 渲染守卫明确拒绝。 */ -}}
|
||||||
|
{{- if hasKey . "adsRouter" }}
|
||||||
|
adsRouter:
|
||||||
|
localNetId: "{{ .adsRouter.localNetId }}"
|
||||||
|
publicAddress: "{{ .adsRouter.publicAddress }}"
|
||||||
|
{{- if hasKey .adsRouter "clientEndPoint" }}
|
||||||
|
clientEndPoint: "{{ .adsRouter.clientEndPoint }}"
|
||||||
|
{{- end }}
|
||||||
|
{{- if hasKey .adsRouter "externalPort" }}
|
||||||
|
externalPort: {{ .adsRouter.externalPort }}
|
||||||
|
{{- end }}
|
||||||
|
{{- 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
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# sanhua — mixingx-gateway(客户环境 Application,ADR-0068)
|
||||||
|
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+sanhua / deploy 钉 release 分支 /
|
||||||
|
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-gateway
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.100
|
||||||
|
path: release-charts/mixingx-gateway
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-gateway
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/sanhua/image-version.yaml
|
||||||
|
- $values/environments/sanhua/gateway-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# sanhua — mixingx-infra(客户环境 Application,ADR-0068)
|
||||||
|
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+sanhua / deploy 钉 release 分支 /
|
||||||
|
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-infra
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.100
|
||||||
|
path: release-charts/mixingx-infra
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-infra
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/sanhua/image-version.yaml
|
||||||
|
- $values/environments/sanhua/infra-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
# sanhua — MQTTX 调试客户端
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-mqttx
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.100
|
||||||
|
path: release-charts/mixingx-mqttx
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-mqttx
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/sanhua/mqttx-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-network-agent
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: master
|
||||||
|
path: release-charts/mixingx-network-agent
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-network-agent
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/sanhua/network-agent-values.yaml
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
||||||
|
targetRevision: release
|
||||||
|
ref: values
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: mixingx
|
||||||
|
syncPolicy:
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
@@ -1,20 +1,20 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
apiVersion: argoproj.io/v1alpha1
|
||||||
kind: Application
|
kind: Application
|
||||||
metadata:
|
metadata:
|
||||||
name: mixingx-demo-root
|
name: sanhua-root
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
||||||
targetRevision: master
|
targetRevision: release
|
||||||
path: applications/demo
|
path: applications/sanhua
|
||||||
|
directory:
|
||||||
|
exclude: "root.yaml"
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
automated:
|
automated:
|
||||||
prune: false
|
prune: false
|
||||||
selfHeal: true
|
selfHeal: false
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# sanhua — mixingx-sso(客户环境 Application,ADR-0068)
|
||||||
|
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+sanhua / deploy 钉 release 分支 /
|
||||||
|
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-sso
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.100
|
||||||
|
path: release-charts/mixingx-sso
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-sso
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/sanhua/image-version.yaml
|
||||||
|
- $values/environments/sanhua/sso-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# sanhua — mixingx-ultra(客户环境 Application,ADR-0068)
|
||||||
|
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+sanhua / deploy 钉 release 分支 /
|
||||||
|
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-ultra
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.100
|
||||||
|
path: release-charts/mixingx-ultra
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-ultra
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/sanhua/image-version.yaml
|
||||||
|
- $values/environments/sanhua/ultra-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
# sciveda — Agent 单元 ApplicationSet(按 environments/sciveda/agents.yaml 清单生成)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: ApplicationSet
|
||||||
|
metadata:
|
||||||
|
name: mixingx-sciveda-agents
|
||||||
|
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/sciveda/agents.yaml
|
||||||
|
- list:
|
||||||
|
elementsYaml: '{{ .agents | toJson }}'
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
name: 'mixingx-agent-{{ .id }}'
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.99
|
||||||
|
path: release-charts/mixingx-agent-unit
|
||||||
|
helm:
|
||||||
|
releaseName: 'mixingx-agent-{{ .id }}'
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/sciveda/image-version.yaml
|
||||||
|
- $values/environments/sciveda/agent-common-values.yaml
|
||||||
|
values: |
|
||||||
|
site: "{{ .id }}"
|
||||||
|
description: "{{ .description }}"
|
||||||
|
phaseType: "{{ .phaseType }}"
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# sciveda — mixingx-audit(客户环境 Application,ADR-0068)
|
||||||
|
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+sciveda / deploy 钉 release 分支 /
|
||||||
|
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-audit
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.99
|
||||||
|
path: release-charts/mixingx-audit
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-audit
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/sciveda/image-version.yaml
|
||||||
|
- $values/environments/sciveda/audit-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,68 @@
|
|||||||
|
# sciveda — Edge 单元 ApplicationSet(按 environments/sciveda/edges.yaml 清单生成)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: ApplicationSet
|
||||||
|
metadata:
|
||||||
|
name: mixingx-sciveda-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/sciveda/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.99
|
||||||
|
path: release-charts/mixingx-edge-unit
|
||||||
|
helm:
|
||||||
|
releaseName: 'mixingx-edge-{{ .id }}'
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/sciveda/image-version.yaml
|
||||||
|
- $values/environments/sciveda/edge-common-values.yaml
|
||||||
|
values: |
|
||||||
|
site: "{{ .id }}"
|
||||||
|
idWorkerId: {{ .idWorkerId }}
|
||||||
|
description: "{{ .description }}"
|
||||||
|
{{- if hasKey . "nodeLabel" }}
|
||||||
|
nodeSelector:
|
||||||
|
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
||||||
|
{{- end }}
|
||||||
|
{{- /* ADS Router 逐实例身份透传(chart 默认 enabled=true):实例缺 adsRouter
|
||||||
|
身份时不在此兜底,由 chart 渲染守卫明确拒绝。 */ -}}
|
||||||
|
{{- if hasKey . "adsRouter" }}
|
||||||
|
adsRouter:
|
||||||
|
localNetId: "{{ .adsRouter.localNetId }}"
|
||||||
|
publicAddress: "{{ .adsRouter.publicAddress }}"
|
||||||
|
{{- if hasKey .adsRouter "clientEndPoint" }}
|
||||||
|
clientEndPoint: "{{ .adsRouter.clientEndPoint }}"
|
||||||
|
{{- end }}
|
||||||
|
{{- if hasKey .adsRouter "externalPort" }}
|
||||||
|
externalPort: {{ .adsRouter.externalPort }}
|
||||||
|
{{- end }}
|
||||||
|
{{- 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
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# sciveda — mixingx-gateway(客户环境 Application,ADR-0068)
|
||||||
|
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+sciveda / deploy 钉 release 分支 /
|
||||||
|
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-gateway
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.95
|
||||||
|
path: release-charts/mixingx-gateway
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-gateway
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/sciveda/image-version.yaml
|
||||||
|
- $values/environments/sciveda/gateway-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# sciveda — mixingx-infra(客户环境 Application,ADR-0068)
|
||||||
|
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+sciveda / deploy 钉 release 分支 /
|
||||||
|
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-infra
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.99
|
||||||
|
path: release-charts/mixingx-infra
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-infra
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/sciveda/image-version.yaml
|
||||||
|
- $values/environments/sciveda/infra-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
# sciveda — MQTTX 调试客户端
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-mqttx
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.99
|
||||||
|
path: release-charts/mixingx-mqttx
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-mqttx
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/sciveda/mqttx-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-network-agent
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: master
|
||||||
|
path: release-charts/mixingx-network-agent
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-network-agent
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/sciveda/network-agent-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: sciveda-root
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
source:
|
||||||
|
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
||||||
|
targetRevision: release
|
||||||
|
path: applications/sciveda
|
||||||
|
directory:
|
||||||
|
exclude: "root.yaml"
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: argocd
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: false
|
||||||
|
selfHeal: false
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# sciveda — mixingx-sso(客户环境 Application,ADR-0068)
|
||||||
|
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+sciveda / deploy 钉 release 分支 /
|
||||||
|
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-sso
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.99
|
||||||
|
path: release-charts/mixingx-sso
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-sso
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/sciveda/image-version.yaml
|
||||||
|
- $values/environments/sciveda/sso-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# sciveda — mixingx-ultra(客户环境 Application,ADR-0068)
|
||||||
|
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+sciveda / deploy 钉 release 分支 /
|
||||||
|
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-ultra
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.99
|
||||||
|
path: release-charts/mixingx-ultra
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-ultra
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/sciveda/image-version.yaml
|
||||||
|
- $values/environments/sciveda/ultra-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
# tayo — Agent 单元 ApplicationSet(按 environments/tayo/agents.yaml 清单生成)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: ApplicationSet
|
||||||
|
metadata:
|
||||||
|
name: mixingx-tayo-agents
|
||||||
|
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/tayo/agents.yaml
|
||||||
|
- list:
|
||||||
|
elementsYaml: '{{ .agents | toJson }}'
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
name: 'mixingx-agent-{{ .id }}'
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.102
|
||||||
|
path: release-charts/mixingx-agent-unit
|
||||||
|
helm:
|
||||||
|
releaseName: 'mixingx-agent-{{ .id }}'
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/tayo/image-version.yaml
|
||||||
|
- $values/environments/tayo/agent-common-values.yaml
|
||||||
|
values: |
|
||||||
|
site: "{{ .id }}"
|
||||||
|
description: "{{ .description }}"
|
||||||
|
phaseType: "{{ .phaseType }}"
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# tayo — mixingx-audit(客户环境 Application,ADR-0068)
|
||||||
|
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+tayo / deploy 钉 release 分支 /
|
||||||
|
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-audit
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.102
|
||||||
|
path: release-charts/mixingx-audit
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-audit
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/tayo/image-version.yaml
|
||||||
|
- $values/environments/tayo/audit-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,68 @@
|
|||||||
|
# tayo — Edge 单元 ApplicationSet(按 environments/tayo/edges.yaml 清单生成)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: ApplicationSet
|
||||||
|
metadata:
|
||||||
|
name: mixingx-tayo-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/tayo/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.102
|
||||||
|
path: release-charts/mixingx-edge-unit
|
||||||
|
helm:
|
||||||
|
releaseName: 'mixingx-edge-{{ .id }}'
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/tayo/image-version.yaml
|
||||||
|
- $values/environments/tayo/edge-common-values.yaml
|
||||||
|
values: |
|
||||||
|
site: "{{ .id }}"
|
||||||
|
idWorkerId: {{ .idWorkerId }}
|
||||||
|
description: "{{ .description }}"
|
||||||
|
{{- if hasKey . "nodeLabel" }}
|
||||||
|
nodeSelector:
|
||||||
|
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
||||||
|
{{- end }}
|
||||||
|
{{- /* ADS Router 逐实例身份透传(chart 默认 enabled=true):实例缺 adsRouter
|
||||||
|
身份时不在此兜底,由 chart 渲染守卫明确拒绝。 */ -}}
|
||||||
|
{{- if hasKey . "adsRouter" }}
|
||||||
|
adsRouter:
|
||||||
|
localNetId: "{{ .adsRouter.localNetId }}"
|
||||||
|
publicAddress: "{{ .adsRouter.publicAddress }}"
|
||||||
|
{{- if hasKey .adsRouter "clientEndPoint" }}
|
||||||
|
clientEndPoint: "{{ .adsRouter.clientEndPoint }}"
|
||||||
|
{{- end }}
|
||||||
|
{{- if hasKey .adsRouter "externalPort" }}
|
||||||
|
externalPort: {{ .adsRouter.externalPort }}
|
||||||
|
{{- end }}
|
||||||
|
{{- 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
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# tayo — mixingx-gateway(客户环境 Application,ADR-0068)
|
||||||
|
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+tayo / deploy 钉 release 分支 /
|
||||||
|
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-gateway
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.102
|
||||||
|
path: release-charts/mixingx-gateway
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-gateway
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/tayo/image-version.yaml
|
||||||
|
- $values/environments/tayo/gateway-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# tayo — mixingx-infra(客户环境 Application,ADR-0068)
|
||||||
|
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+tayo / deploy 钉 release 分支 /
|
||||||
|
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-infra
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.102
|
||||||
|
path: release-charts/mixingx-infra
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-infra
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/tayo/image-version.yaml
|
||||||
|
- $values/environments/tayo/infra-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
# tayo — MQTTX 调试客户端
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-mqttx
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.102
|
||||||
|
path: release-charts/mixingx-mqttx
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-mqttx
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/tayo/mqttx-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-network-agent
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: master
|
||||||
|
path: release-charts/mixingx-network-agent
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-network-agent
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/tayo/network-agent-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: tayo-root
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
source:
|
||||||
|
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
||||||
|
targetRevision: release
|
||||||
|
path: applications/tayo
|
||||||
|
directory:
|
||||||
|
exclude: "root.yaml"
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: argocd
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: false
|
||||||
|
selfHeal: false
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# tayo — mixingx-sso(客户环境 Application,ADR-0068)
|
||||||
|
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+tayo / deploy 钉 release 分支 /
|
||||||
|
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-sso
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.102
|
||||||
|
path: release-charts/mixingx-sso
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-sso
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/tayo/image-version.yaml
|
||||||
|
- $values/environments/tayo/sso-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
# tayo — mixingx-ultra(客户环境 Application,ADR-0068)
|
||||||
|
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+tayo / deploy 钉 release 分支 /
|
||||||
|
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-ultra
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.102
|
||||||
|
path: release-charts/mixingx-ultra
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-ultra
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/tayo/image-version.yaml
|
||||||
|
- $values/environments/tayo/ultra-values.yaml
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
# thai-tuopu-2000-4 客户特例:独立小 Application,只管理 environments/thai-tuopu-2000-4/extras/agent-postgres-lb/ 下的
|
||||||
|
# agent-thai-tuopu-2000-4-postgres-lb LoadBalancer Service。不挂进 agents ApplicationSet,
|
||||||
|
# 避免未来 thai-tuopu-2000-4 增加第二个 agent 时被重复渲染。
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: thai-tuopu-2000-4-agent-postgres-lb
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
source:
|
||||||
|
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
||||||
|
targetRevision: release
|
||||||
|
path: environments/thai-tuopu-2000-4/extras/agent-postgres-lb
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: mixingx
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: false
|
||||||
|
selfHeal: true
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
# thai-tuopu-2000-4 — Agent 单元 ApplicationSet(按 environments/thai-tuopu-2000-4/agents.yaml 清单生成)
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: ApplicationSet
|
||||||
|
metadata:
|
||||||
|
name: mixingx-thai-tuopu-2000-4-agents
|
||||||
|
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/thai-tuopu-2000-4/agents.yaml
|
||||||
|
- list:
|
||||||
|
elementsYaml: '{{ .agents | toJson }}'
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
name: 'mixingx-agent-{{ .id }}'
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: chart-v1.0.76
|
||||||
|
path: release-charts/mixingx-agent-unit
|
||||||
|
helm:
|
||||||
|
releaseName: 'mixingx-agent-{{ .id }}'
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/_common/registry.yaml
|
||||||
|
- $values/environments/thai-tuopu-2000-4/image-version.yaml
|
||||||
|
- $values/environments/thai-tuopu-2000-4/agent-common-values.yaml
|
||||||
|
values: |
|
||||||
|
site: "{{ .id }}"
|
||||||
|
description: "{{ .description }}"
|
||||||
|
phaseType: "{{ .phaseType }}"
|
||||||
|
- 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
|
||||||
Loaded 100 of 287 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user