Compare commits
150
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
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 | ||
|
|
e2375a49d2 | ||
|
|
3849548087 | ||
|
|
638d1bca8f |
No files matched your search
-85
@@ -1,85 +0,0 @@
|
||||
# ============================================================================
|
||||
# .drone.yml — MixingX 交付晋级流水线(release-promote)— 本仓库第一条流水线
|
||||
#
|
||||
# 触发方式: 手动 (Drone Web 界面 → 打开 mixingx.deploy → NEW BUILD)
|
||||
# 参数(可选,均有默认):
|
||||
# RELEASE_VERSION — 交付版本号 v1.0.1;不传则自动递增 patch(查 chart 仓库上一个 tag)
|
||||
# CUSTOMER — 客户目录名,默认 mxlexus
|
||||
# PROMOTE_PROTOCOLS — true 时连 protocol mock 镜像一起晋级,默认 false(现场不部署)
|
||||
#
|
||||
# 职责(五步,详见 ci/promote.sh):
|
||||
# prepare: 解析版本号 + 读 demo 交付基线 + 核对交付镜像清单
|
||||
# retag : 16 业务镜像 develop-* → v1.0.x,bit 级复制推 ACR(ADR-0067)
|
||||
# chart : chart 仓库 bump Chart.yaml + 打 tag chart-v1.0.x
|
||||
# pin : release 分支客户目录钉版(镜像 tag + chart tag)
|
||||
#
|
||||
# 边界:
|
||||
# - 不构建任何镜像(构建属于 9 个源码仓库的流水线)
|
||||
# - 不触碰 deploy master(demo 写回由构建流水线负责)
|
||||
# - git push 凭证走 Drone netrc 自动注入;推 ACR 走 secrets(acr_push_*)
|
||||
# - 凭证禁止走构建参数(会明文进构建历史,ADR-0066)
|
||||
#
|
||||
# Secrets (Drone → mixingx.deploy → Settings → Secrets):
|
||||
# acr_push_username / acr_push_password — ACR 推送凭证(✅ 已配置)
|
||||
# ============================================================================
|
||||
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: release-promote
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- custom # 仅手动触发;push 事件(demo 写回)不触发任何东西
|
||||
|
||||
steps:
|
||||
# ═══════════════════════════════════════════
|
||||
# Step 1: 准备 — 版本号 + 交付基线 + 镜像清单核对
|
||||
# ═══════════════════════════════════════════
|
||||
- name: prepare
|
||||
image: 192.168.1.119:8888/mixingx/gitops-tools:latest
|
||||
pull: if-not-exists
|
||||
commands:
|
||||
- sh ci/promote.sh prepare
|
||||
|
||||
# ═══════════════════════════════════════════
|
||||
# Step 2: 镜像晋级 — pull 119 → tag ACR → push
|
||||
# ═══════════════════════════════════════════
|
||||
- name: retag-images
|
||||
image: docker:24-dind
|
||||
pull: if-not-exists
|
||||
privileged: true
|
||||
volumes:
|
||||
- name: dockersock
|
||||
path: /var/run/docker.sock
|
||||
environment:
|
||||
ACR_USER:
|
||||
from_secret: acr_push_username
|
||||
ACR_PASS:
|
||||
from_secret: acr_push_password
|
||||
ACR_REGISTRY: mx-imserver-registry.cn-shanghai.cr.aliyuncs.com
|
||||
HARBOR_REGISTRY: 192.168.1.119:8888/mixingx
|
||||
commands:
|
||||
- sh ci/promote.sh retag
|
||||
|
||||
# ═══════════════════════════════════════════
|
||||
# Step 3: chart 版本化 — bump Chart.yaml + tag chart-v1.0.x
|
||||
# ═══════════════════════════════════════════
|
||||
- name: chart-tag
|
||||
image: 192.168.1.119:8888/mixingx/gitops-tools:latest
|
||||
pull: if-not-exists
|
||||
commands:
|
||||
- sh ci/promote.sh chart
|
||||
|
||||
# ═══════════════════════════════════════════
|
||||
# Step 4: 交付分支钉版 — release 分支客户目录
|
||||
# ═══════════════════════════════════════════
|
||||
- name: pin-release
|
||||
image: 192.168.1.119:8888/mixingx/gitops-tools:latest
|
||||
pull: if-not-exists
|
||||
commands:
|
||||
- sh ci/promote.sh pin
|
||||
|
||||
volumes:
|
||||
- name: dockersock
|
||||
host:
|
||||
path: /var/run/docker.sock
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,29 @@
|
||||
# daye — MQTTX 调试客户端
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-mqttx
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,28 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-network-agent
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -1,20 +1,20 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-dev-root
|
||||
name: daye-root
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: master
|
||||
path: applications/dev
|
||||
targetRevision: release
|
||||
path: applications/daye
|
||||
directory:
|
||||
exclude: "root.yaml"
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: argocd
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
selfHeal: false
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,29 @@
|
||||
# mxfoxconn850t1 — MQTTX 调试客户端
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-mqttx
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,25 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-network-agent
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/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/mxfoxconn850t1/network-agent-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/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: mxfoxconn850t1-root
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://gitee.com/mixing-tech/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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,25 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-network-agent
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/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://gitee.com/mixing-tech/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
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-demo-root
|
||||
name: mxlexus-root
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: master
|
||||
path: applications/demo
|
||||
targetRevision: release
|
||||
path: applications/mxlexus
|
||||
directory:
|
||||
exclude: "root.yaml"
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: argocd
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,25 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-network-agent
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,25 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-network-agent
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,29 @@
|
||||
# sanhua — MQTTX 调试客户端
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-mqttx
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,25 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-network-agent
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/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://gitee.com/mixing-tech/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: sanhua-root
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
path: applications/sanhua
|
||||
directory:
|
||||
exclude: "root.yaml"
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: argocd
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: false
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,29 @@
|
||||
# sciveda — MQTTX 调试客户端
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-mqttx
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,28 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-network-agent
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,20 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: sciveda-root
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://gitee.com/mixing-tech/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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,29 @@
|
||||
# tayo — MQTTX 调试客户端
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-mqttx
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,28 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-network-agent
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,20 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: tayo-root
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://gitee.com/mixing-tech/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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,32 @@
|
||||
# thai-tuopu-2000-4 — mixingx-audit(客户环境 Application,ADR-0068)
|
||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+thai-tuopu-2000-4 / deploy 钉 release 分支 /
|
||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-audit
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/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/thai-tuopu-2000-4/image-version.yaml
|
||||
- $values/environments/thai-tuopu-2000-4/audit-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,55 @@
|
||||
# thai-tuopu-2000-4 — Edge 单元 ApplicationSet(按 environments/thai-tuopu-2000-4/edges.yaml 清单生成)
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: ApplicationSet
|
||||
metadata:
|
||||
name: mixingx-thai-tuopu-2000-4-edges
|
||||
namespace: argocd
|
||||
spec:
|
||||
goTemplate: true
|
||||
goTemplateOptions:
|
||||
- missingkey=error
|
||||
generators:
|
||||
- matrix:
|
||||
generators:
|
||||
- git:
|
||||
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
revision: release
|
||||
files:
|
||||
- path: environments/thai-tuopu-2000-4/edges.yaml
|
||||
- list:
|
||||
elementsYaml: '{{ .edges | toJson }}'
|
||||
template:
|
||||
metadata:
|
||||
name: 'mixingx-edge-{{ .id }}'
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.42
|
||||
path: release-charts/mixingx-edge-unit
|
||||
helm:
|
||||
releaseName: 'mixingx-edge-{{ .id }}'
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/thai-tuopu-2000-4/image-version.yaml
|
||||
- $values/environments/thai-tuopu-2000-4/edge-common-values.yaml
|
||||
values: |
|
||||
site: "{{ .id }}"
|
||||
idWorkerId: {{ .idWorkerId }}
|
||||
description: "{{ .description }}"
|
||||
{{- if hasKey . "nodeLabel" }}
|
||||
nodeSelector:
|
||||
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
||||
{{- end }}
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,32 @@
|
||||
# thai-tuopu-2000-4 — mixingx-gateway(客户环境 Application,ADR-0068)
|
||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+thai-tuopu-2000-4 / deploy 钉 release 分支 /
|
||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-gateway
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/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/thai-tuopu-2000-4/image-version.yaml
|
||||
- $values/environments/thai-tuopu-2000-4/gateway-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,32 @@
|
||||
# thai-tuopu-2000-4 — mixingx-infra(客户环境 Application,ADR-0068)
|
||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+thai-tuopu-2000-4 / deploy 钉 release 分支 /
|
||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-infra
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.76
|
||||
path: release-charts/mixingx-infra
|
||||
helm:
|
||||
releaseName: mixingx-infra
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/thai-tuopu-2000-4/image-version.yaml
|
||||
- $values/environments/thai-tuopu-2000-4/infra-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,29 @@
|
||||
# thai-tuopu-2000-4 — MQTTX 调试客户端
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-mqttx
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.76
|
||||
path: release-charts/mixingx-mqttx
|
||||
helm:
|
||||
releaseName: mixingx-mqttx
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/thai-tuopu-2000-4/mqttx-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,25 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-network-agent
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/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/thai-tuopu-2000-4/network-agent-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/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: thai-tuopu-2000-4-root
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
path: applications/thai-tuopu-2000-4
|
||||
directory:
|
||||
exclude: "root.yaml"
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: argocd
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: false
|
||||
@@ -0,0 +1,32 @@
|
||||
# thai-tuopu-2000-4 — mixingx-sso(客户环境 Application,ADR-0068)
|
||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+thai-tuopu-2000-4 / deploy 钉 release 分支 /
|
||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-sso
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.47
|
||||
path: release-charts/mixingx-sso
|
||||
helm:
|
||||
releaseName: mixingx-sso
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/thai-tuopu-2000-4/image-version.yaml
|
||||
- $values/environments/thai-tuopu-2000-4/sso-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,32 @@
|
||||
# thai-tuopu-2000-4 — mixingx-ultra(客户环境 Application,ADR-0068)
|
||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+thai-tuopu-2000-4 / deploy 钉 release 分支 /
|
||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-ultra
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/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/thai-tuopu-2000-4/image-version.yaml
|
||||
- $values/environments/thai-tuopu-2000-4/ultra-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,51 @@
|
||||
# tuopu-01 — Agent 单元 ApplicationSet(按 environments/tuopu-01/agents.yaml 清单生成)
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: ApplicationSet
|
||||
metadata:
|
||||
name: mixingx-tuopu-01-agents
|
||||
namespace: argocd
|
||||
spec:
|
||||
goTemplate: true
|
||||
goTemplateOptions:
|
||||
- missingkey=error
|
||||
generators:
|
||||
- matrix:
|
||||
generators:
|
||||
- git:
|
||||
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
revision: release
|
||||
files:
|
||||
- path: environments/tuopu-01/agents.yaml
|
||||
- list:
|
||||
elementsYaml: '{{ .agents | toJson }}'
|
||||
template:
|
||||
metadata:
|
||||
name: 'mixingx-agent-{{ .id }}'
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.87
|
||||
path: release-charts/mixingx-agent-unit
|
||||
helm:
|
||||
releaseName: 'mixingx-agent-{{ .id }}'
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/tuopu-01/image-version.yaml
|
||||
- $values/environments/tuopu-01/agent-common-values.yaml
|
||||
values: |
|
||||
site: "{{ .id }}"
|
||||
description: "{{ .description }}"
|
||||
phaseType: "{{ .phaseType }}"
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,32 @@
|
||||
# tuopu-01 — mixingx-audit(客户环境 Application,ADR-0068)
|
||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+tuopu-01 / deploy 钉 release 分支 /
|
||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-audit
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.87
|
||||
path: release-charts/mixingx-audit
|
||||
helm:
|
||||
releaseName: mixingx-audit
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/tuopu-01/image-version.yaml
|
||||
- $values/environments/tuopu-01/audit-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,68 @@
|
||||
# tuopu-01 — Edge 单元 ApplicationSet(按 environments/tuopu-01/edges.yaml 清单生成)
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: ApplicationSet
|
||||
metadata:
|
||||
name: mixingx-tuopu-01-edges
|
||||
namespace: argocd
|
||||
spec:
|
||||
goTemplate: true
|
||||
goTemplateOptions:
|
||||
- missingkey=error
|
||||
generators:
|
||||
- matrix:
|
||||
generators:
|
||||
- git:
|
||||
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
revision: release
|
||||
files:
|
||||
- path: environments/tuopu-01/edges.yaml
|
||||
- list:
|
||||
elementsYaml: '{{ .edges | toJson }}'
|
||||
template:
|
||||
metadata:
|
||||
name: 'mixingx-edge-{{ .id }}'
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.87
|
||||
path: release-charts/mixingx-edge-unit
|
||||
helm:
|
||||
releaseName: 'mixingx-edge-{{ .id }}'
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/tuopu-01/image-version.yaml
|
||||
- $values/environments/tuopu-01/edge-common-values.yaml
|
||||
values: |
|
||||
site: "{{ .id }}"
|
||||
idWorkerId: {{ .idWorkerId }}
|
||||
description: "{{ .description }}"
|
||||
{{- if hasKey . "nodeLabel" }}
|
||||
nodeSelector:
|
||||
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
||||
{{- end }}
|
||||
{{- /* 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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,32 @@
|
||||
# tuopu-01 — mixingx-gateway(客户环境 Application,ADR-0068)
|
||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+tuopu-01 / deploy 钉 release 分支 /
|
||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-gateway
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.87
|
||||
path: release-charts/mixingx-gateway
|
||||
helm:
|
||||
releaseName: mixingx-gateway
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/tuopu-01/image-version.yaml
|
||||
- $values/environments/tuopu-01/gateway-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,32 @@
|
||||
# tuopu-01 — mixingx-infra(客户环境 Application,ADR-0068)
|
||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+tuopu-01 / deploy 钉 release 分支 /
|
||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-infra
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.87
|
||||
path: release-charts/mixingx-infra
|
||||
helm:
|
||||
releaseName: mixingx-infra
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/tuopu-01/image-version.yaml
|
||||
- $values/environments/tuopu-01/infra-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
Loaded 100 of 265 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user