Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9e4f2f848a | ||
|
|
52d82b2ae7 | ||
|
|
dccf11023e | ||
|
|
33f39de1ac | ||
|
|
5a323cc3f3 | ||
|
|
c201f85aa4 | ||
|
|
b666d9a987 | ||
|
|
c44614fcd2 | ||
|
|
0c0e8394a2 | ||
|
|
cdbf7b3f23 | ||
|
|
7f0cd927d3 | ||
|
|
38f3d3fe2b | ||
|
|
a35ae676ec | ||
|
|
a907ccd3bc | ||
|
|
f270395796 | ||
|
|
7a22c2dcca | ||
|
|
a0ead4b842 | ||
|
|
a71eaf8ca7 | ||
|
|
22e8e53fb5 | ||
|
|
a11acbfa9e | ||
|
|
dbd051b733 | ||
|
|
aba1124a8e | ||
|
|
556ed2b091 | ||
|
|
85aaf5e59c | ||
|
|
f6278c70e6 | ||
|
|
01d5aabd6a | ||
|
|
6fac70ae84 | ||
|
|
963fa94273 | ||
|
|
1d8651d143 | ||
|
|
9cf0ffd40a | ||
|
|
cf3051221a | ||
|
|
4426fd5f76 | ||
|
|
3dba385830 | ||
|
|
f0abe3ccce | ||
|
|
95efa66816 | ||
|
|
176d4398ff | ||
|
|
b2c969a117 | ||
|
|
0c2dddb136 | ||
|
|
f4167d4a5b | ||
|
|
ddc3cb74f0 | ||
|
|
09310182bc | ||
|
|
90feffe652 | ||
|
|
c3819ab3de | ||
|
|
b6af5bfb15 | ||
|
|
b782695654 | ||
|
|
ff25deb642 | ||
|
|
4b926d9d55 | ||
|
|
6dddb721b7 | ||
|
|
609f08d2a3 | ||
|
|
ecd059746a | ||
|
|
c620129717 | ||
|
|
bb83f177cd | ||
|
|
4142286d64 | ||
|
|
627222904a | ||
|
|
a5714431a2 | ||
|
|
9e4d1e6290 | ||
|
|
d650ff15ff | ||
|
|
30865af389 | ||
|
|
c7b132e35e | ||
|
|
f5c32fe060 | ||
|
|
7320edff46 | ||
|
|
74863653d2 | ||
|
|
efd802a99e | ||
|
|
03b050e678 | ||
|
|
d72236e673 | ||
|
|
0f89203f7c | ||
|
|
984d0b41f2 | ||
|
|
eaf1980241 | ||
|
|
ebb0fc2f3a | ||
|
|
ebcb75ba88 | ||
|
|
cc7587149a | ||
|
|
247f28c4dc | ||
|
|
d8eee0419c | ||
|
|
0e7fc552cb | ||
|
|
8a0613e182 | ||
|
|
a619372f87 | ||
|
|
f56cd559ca | ||
|
|
60867ebfe8 | ||
|
|
54e91f9793 | ||
|
|
6dc08615a5 | ||
|
|
65dfc7a4b5 | ||
|
|
3d24a570b0 | ||
|
|
e5bd4e97e0 | ||
|
|
9c46880d65 | ||
|
|
8335f694de | ||
|
|
44174095c6 | ||
|
|
63e3e77300 | ||
|
|
de21e3ae39 | ||
|
|
8badc7befc | ||
|
|
dcbb993cbe | ||
|
|
9ef9756967 | ||
|
|
66c53dc81b | ||
|
|
8bb1335e5c | ||
|
|
e945282de8 | ||
|
|
788549ce3b | ||
|
|
ec64cd0810 | ||
|
|
06c1f884d3 | ||
|
|
d0897e4c7e | ||
|
|
8aa34f1cae | ||
|
|
a75db1a89d | ||
|
|
79c07a05b6 | ||
|
|
8590b4e337 | ||
|
|
33bcfeb9f3 | ||
|
|
5101c358c9 | ||
|
|
6a72c2cceb | ||
|
|
6c225015f9 | ||
|
|
30180b3426 | ||
|
|
ca6412db39 | ||
|
|
a7bf3ddf3c | ||
|
|
141c6f0ad8 | ||
|
|
bed88bc786 | ||
|
|
3d4a6af838 | ||
|
|
23d1fffc92 | ||
|
|
403642adb7 | ||
|
|
a0cf501c67 | ||
|
|
62fc5ceb6c | ||
|
|
50b379e501 | ||
|
|
a62e71a01e | ||
|
|
d6e6ecd0f6 | ||
|
|
80cef43763 | ||
|
|
665436d5e2 | ||
|
|
aa7af29210 | ||
|
|
b5c41dd95b | ||
|
|
6444e21d99 | ||
|
|
3bfb59bd28 | ||
|
|
493e2d882a | ||
|
|
37446c4e57 | ||
|
|
d81b71e7bf | ||
|
|
e853bed556 | ||
|
|
a7170d438e | ||
|
|
2c5e8cb8c4 | ||
|
|
3b9b4757ca | ||
|
|
d47ef3cde4 | ||
|
|
2c3c795cf5 | ||
|
|
57c5ec4e3e | ||
|
|
2b7fee0ca2 | ||
|
|
145cabbea7 | ||
|
|
2a67a86c36 | ||
|
|
3d957fe585 | ||
|
|
1febbdbd51 | ||
|
|
0258de9a17 | ||
|
|
12e0a469fc | ||
|
|
b77deef4c2 | ||
|
|
70a095b043 | ||
|
|
cd76d495d3 | ||
|
|
f3da8f251b | ||
|
|
74ddbb14fb | ||
|
|
d2d082cebd | ||
|
|
8d19ed68b2 | ||
|
|
48317b2c07 | ||
|
|
98d0ad735f | ||
|
|
b2b377c2b5 | ||
|
|
21c33a8860 | ||
|
|
39120a3d7e | ||
|
|
87cc9b011f | ||
|
|
ab14fff5ab | ||
|
|
823066200a | ||
|
|
e3552039d6 | ||
|
|
3e172f81e2 | ||
|
|
e4224dc465 | ||
|
|
33291691ea | ||
|
|
65a6979a3b | ||
|
|
a7153687c7 | ||
|
|
9db7a80414 | ||
|
|
e45857043b | ||
|
|
a816750c8c | ||
|
|
f79b2c8567 | ||
|
|
699339c738 | ||
|
|
b4f7c52d29 | ||
|
|
e68b3a0c34 | ||
|
|
5860edb63b | ||
|
|
acf43a9b62 | ||
|
|
e005119b49 | ||
|
|
47233b57ac | ||
|
|
605280149a | ||
|
|
2c73ef67e7 | ||
|
|
02a0ebd499 | ||
|
|
b2c1856de9 | ||
|
|
f36c12b0b9 | ||
|
|
eb4b6612a5 | ||
|
|
4171e1e5a3 | ||
|
|
600888d91d | ||
|
|
d89c26b5fb | ||
|
|
a1bc54b777 | ||
|
|
f0be6bbac3 | ||
|
|
1a8e58c89f | ||
|
|
a6f6cc2409 | ||
|
|
28781fe93d | ||
|
|
83921ed22e | ||
|
|
deed34c88e | ||
|
|
f6b5cea183 | ||
|
|
e3bdcd241a | ||
|
|
735f509e82 | ||
|
|
1e96b1d167 | ||
|
|
26c783f917 | ||
|
|
2b260ba40d | ||
|
|
cb1879f85a | ||
|
|
a52f202ad0 | ||
|
|
99074aaef3 | ||
|
|
f554495db5 | ||
|
|
545bf99243 | ||
|
|
1c209af4e9 | ||
|
|
febbf75371 | ||
|
|
92269dc7a9 | ||
|
|
3e4f385620 | ||
|
|
9a4c6dc7dd | ||
|
|
4be786ecb6 | ||
|
|
faec7425b6 | ||
|
|
31ac840f8f | ||
|
|
d5d8b18ed2 | ||
|
|
dc1cc2434d | ||
|
|
96b3ff79bc | ||
|
|
cf7d08e11e | ||
|
|
dcc4b57607 | ||
|
|
c1be513888 | ||
|
|
b3b469441f | ||
|
|
572a1ca5e3 | ||
|
|
08c48e3cad | ||
|
|
d79e4a54c2 | ||
|
|
013c48ab1c | ||
|
|
cb5033be49 | ||
|
|
60c82d10da | ||
|
|
57373c3c12 | ||
|
|
19c0d4f373 | ||
|
|
c72c63817b | ||
|
|
6e068e82c8 | ||
|
|
c306b66c74 | ||
|
|
8fc7880201 | ||
|
|
f6cdc61a6d | ||
|
|
9946440cf1 | ||
|
|
393a7589d7 | ||
|
|
1e83e4178d | ||
|
|
7ace433909 | ||
|
|
58b5091fc3 | ||
|
|
fbf944a1c2 | ||
|
|
029a8d813f | ||
|
|
3056443464 | ||
|
|
8957bf19d6 | ||
|
|
36f49e3716 | ||
|
|
8aff206ea0 | ||
|
|
6d091290df | ||
|
|
c75ba04079 | ||
|
|
b332c4a4d5 | ||
|
|
3f27ef813c | ||
|
|
337e4604db | ||
|
|
8e31ceaf04 | ||
|
|
31a08de579 | ||
|
|
7278ee2627 | ||
|
|
20cd2b5656 | ||
|
|
ef6aa14bbc | ||
|
|
2404cb21a4 | ||
|
|
b9512e8130 | ||
|
|
6b7c497baa | ||
|
|
b347d177e5 | ||
|
|
fcad1d3f60 | ||
|
|
03beb43145 | ||
|
|
874c3b99b3 | ||
|
|
2f8a86ec26 | ||
|
|
be7fcc3297 | ||
|
|
c21f64bc6e | ||
|
|
255e89f71d | ||
|
|
685162d651 | ||
|
|
fc795985b7 | ||
|
|
a9c4e57952 | ||
|
|
dd9275f884 | ||
|
|
a317e4a65b | ||
|
|
4f353f9845 | ||
|
|
b0e2e7338b | ||
|
|
6d61fa5ea7 | ||
|
|
331a990690 | ||
|
|
20b71dae2d | ||
|
|
db6b6af096 | ||
|
|
17838716d9 | ||
|
|
d9ceb3e9c9 | ||
|
|
4651c33c40 | ||
|
|
e3be8e9718 | ||
|
|
99a13a5a7c | ||
|
|
dc5a0fdf1f | ||
|
|
822971d72c | ||
|
|
be144877d9 | ||
|
|
50874a3b70 | ||
|
|
1a95d6c2b1 | ||
|
|
95f3216743 | ||
|
|
4c23035604 | ||
|
|
d28a3ef2f7 | ||
|
|
83c1bade7a | ||
|
|
b993132b6f | ||
|
|
d1e0062d3f | ||
|
|
3177b79f36 | ||
|
|
74b550dfa3 | ||
|
|
91a6ae943a | ||
|
|
e25a274523 | ||
|
|
a1c46c0000 | ||
|
|
b6dafd1bf4 | ||
|
|
154fd35331 | ||
|
|
d06612cb2f | ||
|
|
6450d3084c | ||
|
|
1ebf4b5147 | ||
|
|
a065577d61 | ||
|
|
72ccc9a101 | ||
|
|
6df6d014cc | ||
|
|
4fe73f88e7 | ||
|
|
1e4ff720d1 | ||
|
|
86b4aa0b27 | ||
|
|
9025e7c012 | ||
|
|
e7544ca437 | ||
|
|
7b2a766983 | ||
|
|
defe711ce6 | ||
|
|
a7b08c7bed | ||
|
|
ffbb985919 | ||
|
|
eb44c30dbb | ||
|
|
c9e6b53ea9 | ||
|
|
976736adf1 | ||
|
|
8749e07cf9 | ||
|
|
8b4f3efa9f | ||
|
|
ac7a5cad6e | ||
|
|
b52a142361 | ||
|
|
45dd0f8413 | ||
|
|
ac81b8c6a2 | ||
|
|
13ac6ff7ad | ||
|
|
f4cadead73 | ||
|
|
f9935652f1 | ||
|
|
fe024fa17c | ||
|
|
e4da10a370 | ||
|
|
6981130ce1 | ||
|
|
ea4a807d09 | ||
|
|
0336c66a9c | ||
|
|
2b2389bc19 | ||
|
|
c6f768e102 | ||
|
|
4989e8e49d | ||
|
|
b1eb05c7a6 | ||
|
|
e5bd90af87 | ||
|
|
1fd7f70fdf | ||
|
|
5c6eb93deb | ||
|
|
e0063ba2a9 | ||
|
|
643ef06d0f | ||
|
|
467a213edb | ||
|
|
ff4a7b38b6 | ||
|
|
9ec3816dd4 | ||
|
|
8978c7a8d0 | ||
|
|
b17353b3b2 | ||
|
|
043abc334a | ||
|
|
991f253611 | ||
|
|
17dcc7b15b | ||
|
|
901d8eb1e2 | ||
|
|
55022c7646 | ||
|
|
1fda08b12d | ||
|
|
e5ac297649 | ||
|
|
49c70a6afb | ||
|
|
21a914a633 | ||
|
|
41d6bf7ae5 | ||
|
|
df046a8d0a | ||
|
|
fec260621c | ||
|
|
4077146d0b | ||
|
|
780688c503 | ||
|
|
1630d16a80 | ||
|
|
f43e99fb62 | ||
|
|
c6f7425039 | ||
|
|
73911fe15d | ||
|
|
a73c5b2e60 | ||
|
|
2cb26de407 | ||
|
|
4a89b08cf7 | ||
|
|
32193f3c14 | ||
|
|
9477430c5c | ||
|
|
976342041a | ||
|
|
4428e88531 | ||
|
|
e18cc37918 | ||
|
|
cc6547c90e | ||
|
|
0f79e7d607 | ||
|
|
015ab6771d | ||
|
|
1c96858a74 | ||
|
|
067c15f023 | ||
|
|
e41c1ef463 | ||
|
|
e7a9d4a1a6 | ||
|
|
5f96542180 | ||
|
|
9499c2ac8d | ||
|
|
3576205a5f | ||
|
|
dd2237e24f | ||
|
|
ffc9b44c73 | ||
|
|
dd8eabb5c4 | ||
|
|
f5cba5e02b | ||
|
|
b58a2f5999 | ||
|
|
5c331131e3 | ||
|
|
3e72986505 | ||
|
|
52ada1e565 | ||
|
|
d6d2c53c09 | ||
|
|
28b5c53412 | ||
|
|
f518d35ccd | ||
|
|
66e5a206f5 | ||
|
|
a5f763a572 | ||
|
|
af4dbf7266 | ||
|
|
e42e16c972 | ||
|
|
05f8fc31ff | ||
|
|
54b43d98bb | ||
|
|
b1c7ff1ff4 | ||
|
|
ff950d5065 | ||
|
|
de1fa958ef | ||
|
|
bb908560be | ||
|
|
56207aa5e1 | ||
|
|
60363b3dee | ||
|
|
237e36516f | ||
|
|
92fd12f1ed | ||
|
|
564b51f990 | ||
|
|
4c15866c71 | ||
|
|
bb3ae2124f | ||
|
|
2f2863bfe6 | ||
|
|
9c9271f0d7 | ||
|
|
a703768f7a | ||
|
|
27d9b76d63 | ||
|
|
28fa6b5b53 | ||
|
|
fdc9971172 | ||
|
|
fa5d18a8b7 | ||
|
|
8ac241acd4 | ||
|
|
811f6216ab | ||
|
|
c51aa0cb2e | ||
|
|
86d69d1c3c | ||
|
|
3cce1c4a78 | ||
|
|
1714f9a3ef | ||
|
|
8b7a875cc5 | ||
|
|
408059b616 | ||
|
|
84a9bd86df | ||
|
|
43669888d7 | ||
|
|
009db908df | ||
|
|
5cad07d750 | ||
|
|
3b251fcb3a | ||
|
|
09c3fef72d | ||
|
|
3199374132 |
No files matched your search
+110
@@ -0,0 +1,110 @@
|
|||||||
|
# ============================================================================
|
||||||
|
# .drone.yml — MixingX 交付晋级流水线(release-promote)— 本仓库第一条流水线
|
||||||
|
#
|
||||||
|
# 触发方式: 手动 (Drone Web 界面 → 打开 mixingx.deploy → NEW BUILD)
|
||||||
|
# 参数(可选,均有默认;Drone custom build 参数以同名环境变量注入各 step):
|
||||||
|
# RELEASE_VERSION — 交付版本号 v1.0.1;不传则自动递增 patch(查 chart 仓库上一个 tag);
|
||||||
|
# 可显式指定已存在版本(幂等复用,同版本发多客户)
|
||||||
|
# CUSTOMER — 客户目录名,默认 mxlexus(唯一客户时可省略)
|
||||||
|
# PLAN — 按服务交付计划(JSON 数组,每服务一条),示例:
|
||||||
|
# [{"service":"sso","action":"deliver","harborTag":"develop-v.1.0.1-202608250629-41"},
|
||||||
|
# {"service":"agent","action":"reuse","version":"v1.0.1"},
|
||||||
|
# {"service":"ultra","action":"keep"}]
|
||||||
|
# service: gateway/sso/ultra/audit/agent/edge;
|
||||||
|
# action: keep(缺省)/reuse(复用已交付版本)/deliver(交付 Harbor tag,
|
||||||
|
# 缺省取 demo 当前)/ci-now(行为同 deliver,release-notes 记为 ci-now)
|
||||||
|
# SERVICES — 兼容参数,逗号分隔服务名 = 这些服务 deliver(其余 keep)
|
||||||
|
# IMAGES — 兼容参数,逗号分隔 svc=harborTag = 该服务 deliver 且显式指定 tag
|
||||||
|
# (PLAN 存在时优先于 SERVICES/IMAGES;全空 = 6 服务全量交付,与改造前一致)
|
||||||
|
# CHART_ONLY — true 时只发 chart:跳过镜像基线与 retag,pin 只动 chart
|
||||||
|
# targetRevision 与 release-notes,默认 false
|
||||||
|
# RELEASE_NOTES — 发布说明,写入客户 release-notes.yaml,默认空
|
||||||
|
# DB_CHANGE — 逗号分隔服务名,本次含 DB 变更(须为本次非 keep 服务的子集),默认空
|
||||||
|
# OPERATOR — 发布操作人,默认 drone
|
||||||
|
# PROMOTE_PROTOCOLS — true 时连 protocol mock 镜像一起晋级,默认 false(现场不部署)
|
||||||
|
#
|
||||||
|
# 职责(四步,详见 ci/promote.sh;按服务部分交付设计见 hub docs/adr/0074):
|
||||||
|
# prepare: 解析 PLAN/版本号 + 生成交付基线 + 核对交付镜像清单
|
||||||
|
# retag : 基线镜像 develop-* → v1.0.x,bit 级复制推 ACR(ADR-0067,部分交付见
|
||||||
|
# hub docs/adr/0074),逐镜像记录 digest
|
||||||
|
# chart : chart 仓库 bump Chart.yaml + 打 tag chart-v1.0.x(已存在则复用跳过;
|
||||||
|
# 纯复用发布整步跳过)
|
||||||
|
# pin : release 分支客户目录按服务钉版(镜像 tag + chart tag) + release-notes.yaml
|
||||||
|
#
|
||||||
|
# 边界:
|
||||||
|
# - 不构建任何镜像(构建属于 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 推送凭证(✅ 已配置)
|
||||||
|
# harbor_username / harbor_password — Harbor 凭证(prepare 校验显式 harborTag 存在性;
|
||||||
|
# 未配置则跳过校验并警告)
|
||||||
|
# ============================================================================
|
||||||
|
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: release-promote
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- custom # 仅手动触发;push 事件(demo 写回)不触发任何东西
|
||||||
|
|
||||||
|
steps:
|
||||||
|
# ═══════════════════════════════════════════
|
||||||
|
# Step 1: 准备 — 解析 PLAN + 版本号 + 交付基线 + 镜像清单核对
|
||||||
|
# ═══════════════════════════════════════════
|
||||||
|
- name: prepare
|
||||||
|
image: 192.168.1.119:8888/mixingx/gitops-tools:latest
|
||||||
|
pull: if-not-exists
|
||||||
|
environment:
|
||||||
|
HARBOR_USER:
|
||||||
|
from_secret: harbor_username
|
||||||
|
HARBOR_PASS:
|
||||||
|
from_secret: harbor_password
|
||||||
|
commands:
|
||||||
|
- sh ci/promote.sh prepare
|
||||||
|
|
||||||
|
# ═══════════════════════════════════════════
|
||||||
|
# Step 2: 镜像晋级 — pull 119 → tag ACR → push + 记录 digest
|
||||||
|
# ═══════════════════════════════════════════
|
||||||
|
- 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 分支客户目录按服务钉版 + release-notes
|
||||||
|
# ═══════════════════════════════════════════
|
||||||
|
- 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
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
# 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/`.
|
||||||
|
|
||||||
|
Dev environment (retired):
|
||||||
|
|
||||||
|
- The dev environment (namespace `mixingx-dev`, `dev.mixingx.local`) is retired; local development is covered by Aspire in `mixingx.hub`.
|
||||||
|
- Its manifests are kept inert under `applications/dev/disabled/` and `bootstrap/disabled/`; values under `environments/dev/` are kept for reference.
|
||||||
|
- See `applications/dev/README.md` for the rationale and re-enable steps.
|
||||||
|
|
||||||
|
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
|
||||||
|
```
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
# daye — Agent 单元 ApplicationSet(按 environments/daye/agents.yaml 清单生成)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: ApplicationSet
|
|
||||||
metadata:
|
|
||||||
name: mixingx-daye-agents
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
goTemplate: true
|
|
||||||
goTemplateOptions:
|
|
||||||
- missingkey=error
|
|
||||||
generators:
|
|
||||||
- matrix:
|
|
||||||
generators:
|
|
||||||
- git:
|
|
||||||
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
revision: release
|
|
||||||
files:
|
|
||||||
- path: environments/daye/agents.yaml
|
|
||||||
- list:
|
|
||||||
elementsYaml: '{{ .agents | toJson }}'
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
name: 'mixingx-agent-{{ .id }}'
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.101
|
|
||||||
path: release-charts/mixingx-agent-unit
|
|
||||||
helm:
|
|
||||||
releaseName: 'mixingx-agent-{{ .id }}'
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/daye/image-version.yaml
|
|
||||||
- $values/environments/daye/agent-common-values.yaml
|
|
||||||
values: |
|
|
||||||
site: "{{ .id }}"
|
|
||||||
description: "{{ .description }}"
|
|
||||||
phaseType: "{{ .phaseType }}"
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# daye — mixingx-audit(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+daye / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-audit
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.101
|
|
||||||
path: release-charts/mixingx-audit
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-audit
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/daye/image-version.yaml
|
|
||||||
- $values/environments/daye/audit-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,68 +0,0 @@
|
|||||||
# daye — Edge 单元 ApplicationSet(按 environments/daye/edges.yaml 清单生成)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: ApplicationSet
|
|
||||||
metadata:
|
|
||||||
name: mixingx-daye-edges
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
goTemplate: true
|
|
||||||
goTemplateOptions:
|
|
||||||
- missingkey=error
|
|
||||||
generators:
|
|
||||||
- matrix:
|
|
||||||
generators:
|
|
||||||
- git:
|
|
||||||
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
revision: release
|
|
||||||
files:
|
|
||||||
- path: environments/daye/edges.yaml
|
|
||||||
- list:
|
|
||||||
elementsYaml: '{{ .edges | toJson }}'
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
name: 'mixingx-edge-{{ .id }}'
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.101
|
|
||||||
path: release-charts/mixingx-edge-unit
|
|
||||||
helm:
|
|
||||||
releaseName: 'mixingx-edge-{{ .id }}'
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/daye/image-version.yaml
|
|
||||||
- $values/environments/daye/edge-common-values.yaml
|
|
||||||
values: |
|
|
||||||
site: "{{ .id }}"
|
|
||||||
idWorkerId: {{ .idWorkerId }}
|
|
||||||
description: "{{ .description }}"
|
|
||||||
{{- if hasKey . "nodeLabel" }}
|
|
||||||
nodeSelector:
|
|
||||||
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
|
||||||
{{- end }}
|
|
||||||
{{- /* ADS Router 逐实例身份透传(chart 默认 enabled=true):实例缺 adsRouter
|
|
||||||
身份时不在此兜底,由 chart 渲染守卫明确拒绝。 */ -}}
|
|
||||||
{{- if hasKey . "adsRouter" }}
|
|
||||||
adsRouter:
|
|
||||||
localNetId: "{{ .adsRouter.localNetId }}"
|
|
||||||
publicAddress: "{{ .adsRouter.publicAddress }}"
|
|
||||||
{{- if hasKey .adsRouter "clientEndPoint" }}
|
|
||||||
clientEndPoint: "{{ .adsRouter.clientEndPoint }}"
|
|
||||||
{{- end }}
|
|
||||||
{{- if hasKey .adsRouter "externalPort" }}
|
|
||||||
externalPort: {{ .adsRouter.externalPort }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# daye — mixingx-gateway(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+daye / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-gateway
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.101
|
|
||||||
path: release-charts/mixingx-gateway
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-gateway
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/daye/image-version.yaml
|
|
||||||
- $values/environments/daye/gateway-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# daye — mixingx-infra(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+daye / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-infra
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.101
|
|
||||||
path: release-charts/mixingx-infra
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-infra
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/daye/image-version.yaml
|
|
||||||
- $values/environments/daye/infra-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
# daye — MQTTX 调试客户端
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-mqttx
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.101
|
|
||||||
path: release-charts/mixingx-mqttx
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-mqttx
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/daye/mqttx-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,28 +0,0 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-network-agent
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: master
|
|
||||||
path: release-charts/mixingx-network-agent
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-network-agent
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/daye/network-agent-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: daye-root
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
source:
|
|
||||||
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
path: applications/daye
|
|
||||||
directory:
|
|
||||||
exclude: "root.yaml"
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: argocd
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: false
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# daye — mixingx-sso(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+daye / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-sso
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.101
|
|
||||||
path: release-charts/mixingx-sso
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-sso
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/daye/image-version.yaml
|
|
||||||
- $values/environments/daye/sso-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# daye — mixingx-ultra(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+daye / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-ultra
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.101
|
|
||||||
path: release-charts/mixingx-ultra
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-ultra
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/daye/image-version.yaml
|
|
||||||
- $values/environments/daye/ultra-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -11,7 +11,7 @@ spec:
|
|||||||
- matrix:
|
- matrix:
|
||||||
generators:
|
generators:
|
||||||
- git:
|
- git:
|
||||||
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
repoURL: http://git.mixingx.local/trace/mixingx.deploy.git
|
||||||
revision: master
|
revision: master
|
||||||
files:
|
files:
|
||||||
- path: environments/demo/agents.yaml
|
- path: environments/demo/agents.yaml
|
||||||
@@ -23,7 +23,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
sources:
|
sources:
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
- repoURL: http://git.mixingx.local/trace/mixingx.hub.chart.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
path: release-charts/mixingx-agent-unit
|
path: release-charts/mixingx-agent-unit
|
||||||
helm:
|
helm:
|
||||||
@@ -39,12 +39,15 @@ spec:
|
|||||||
nodeSelector:
|
nodeSelector:
|
||||||
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
- repoURL: http://git.mixingx.local/trace/mixingx.deploy.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
ref: values
|
ref: values
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: mixingx
|
namespace: mixingx
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: false
|
||||||
|
selfHeal: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
@@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
sources:
|
sources:
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
- repoURL: http://git.mixingx.local/trace/mixingx.hub.chart.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
path: release-charts/mixingx-audit
|
path: release-charts/mixingx-audit
|
||||||
helm:
|
helm:
|
||||||
@@ -14,12 +14,15 @@ spec:
|
|||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/environments/demo/image-version.yaml
|
- $values/environments/demo/image-version.yaml
|
||||||
- $values/environments/demo/audit-values.yaml
|
- $values/environments/demo/audit-values.yaml
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
- repoURL: http://git.mixingx.local/trace/mixingx.deploy.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
ref: values
|
ref: values
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: mixingx
|
namespace: mixingx
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: false
|
||||||
|
selfHeal: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: mixingx-codeserver
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
sources:
|
||||||
|
- repoURL: http://git.mixingx.local/trace/mixingx.hub.chart.git
|
||||||
|
targetRevision: master
|
||||||
|
path: release-charts/mixingx-codeserver
|
||||||
|
helm:
|
||||||
|
releaseName: mixingx-codeserver
|
||||||
|
valueFiles:
|
||||||
|
- $values/environments/demo/image-version.yaml
|
||||||
|
- $values/environments/demo/codeserver-values.yaml
|
||||||
|
- repoURL: http://git.mixingx.local/trace/mixingx.deploy.git
|
||||||
|
targetRevision: master
|
||||||
|
ref: values
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: mixingx
|
||||||
|
syncPolicy:
|
||||||
|
# 测试工具,自动同步(同客户仓先例);prune=false 与根应用一致
|
||||||
|
automated:
|
||||||
|
prune: false
|
||||||
|
selfHeal: true
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
@@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
sources:
|
sources:
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
- repoURL: http://git.mixingx.local/trace/mixingx.hub.chart.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
path: release-charts/mixingx-platform
|
path: release-charts/mixingx-platform
|
||||||
helm:
|
helm:
|
||||||
@@ -14,12 +14,15 @@ spec:
|
|||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/environments/demo/image-version.yaml
|
- $values/environments/demo/image-version.yaml
|
||||||
- $values/environments/demo/platform-values.yaml
|
- $values/environments/demo/platform-values.yaml
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
- repoURL: http://git.mixingx.local/trace/mixingx.deploy.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
ref: values
|
ref: values
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: mixingx
|
namespace: mixingx
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: false
|
||||||
|
selfHeal: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
@@ -11,7 +11,7 @@ spec:
|
|||||||
- matrix:
|
- matrix:
|
||||||
generators:
|
generators:
|
||||||
- git:
|
- git:
|
||||||
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
repoURL: http://git.mixingx.local/trace/mixingx.deploy.git
|
||||||
revision: master
|
revision: master
|
||||||
files:
|
files:
|
||||||
- path: environments/demo/edges.yaml
|
- path: environments/demo/edges.yaml
|
||||||
@@ -23,7 +23,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
sources:
|
sources:
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
- repoURL: http://git.mixingx.local/trace/mixingx.hub.chart.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
path: release-charts/mixingx-edge-unit
|
path: release-charts/mixingx-edge-unit
|
||||||
helm:
|
helm:
|
||||||
@@ -39,12 +39,28 @@ spec:
|
|||||||
nodeSelector:
|
nodeSelector:
|
||||||
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
{{- /* 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: http://git.mixingx.local/trace/mixingx.deploy.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
ref: values
|
ref: values
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: mixingx
|
namespace: mixingx
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: false
|
||||||
|
selfHeal: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
@@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
sources:
|
sources:
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
- repoURL: http://git.mixingx.local/trace/mixingx.hub.chart.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
path: release-charts/mixingx-gateway
|
path: release-charts/mixingx-gateway
|
||||||
helm:
|
helm:
|
||||||
@@ -14,12 +14,15 @@ spec:
|
|||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/environments/demo/image-version.yaml
|
- $values/environments/demo/image-version.yaml
|
||||||
- $values/environments/demo/gateway-values.yaml
|
- $values/environments/demo/gateway-values.yaml
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
- repoURL: http://git.mixingx.local/trace/mixingx.deploy.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
ref: values
|
ref: values
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: mixingx
|
namespace: mixingx
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: false
|
||||||
|
selfHeal: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
@@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
sources:
|
sources:
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
- repoURL: http://git.mixingx.local/trace/mixingx.hub.chart.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
path: release-charts/mixingx-infra
|
path: release-charts/mixingx-infra
|
||||||
helm:
|
helm:
|
||||||
@@ -14,12 +14,15 @@ spec:
|
|||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/environments/demo/image-version.yaml
|
- $values/environments/demo/image-version.yaml
|
||||||
- $values/environments/demo/infra-values.yaml
|
- $values/environments/demo/infra-values.yaml
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
- repoURL: http://git.mixingx.local/trace/mixingx.deploy.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
ref: values
|
ref: values
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: mixingx
|
namespace: mixingx
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: false
|
||||||
|
selfHeal: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
@@ -6,12 +6,15 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
repoURL: http://git.mixingx.local/trace/mixingx.deploy.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
path: networking/longhorn-ui
|
path: networking/longhorn-ui
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: longhorn-system
|
namespace: longhorn-system
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: false
|
||||||
|
selfHeal: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
@@ -40,5 +40,8 @@ spec:
|
|||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: longhorn-system
|
namespace: longhorn-system
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: false
|
||||||
|
selfHeal: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
@@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
sources:
|
sources:
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
- repoURL: http://git.mixingx.local/trace/mixingx.hub.chart.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
path: release-charts/mixingx-mqttx
|
path: release-charts/mixingx-mqttx
|
||||||
helm:
|
helm:
|
||||||
@@ -14,12 +14,15 @@ spec:
|
|||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/environments/demo/image-version.yaml
|
- $values/environments/demo/image-version.yaml
|
||||||
- $values/environments/demo/mqttx-values.yaml
|
- $values/environments/demo/mqttx-values.yaml
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
- repoURL: http://git.mixingx.local/trace/mixingx.deploy.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
ref: values
|
ref: values
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: mixingx
|
namespace: mixingx
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: false
|
||||||
|
selfHeal: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
@@ -6,16 +6,16 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
sources:
|
sources:
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
- repoURL: http://git.mixingx.local/trace/mixingx.hub.chart.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
path: release-charts/mixingx-network-agent
|
path: release-charts/mixingx-network-agent
|
||||||
helm:
|
helm:
|
||||||
releaseName: mixingx-network-agent
|
releaseName: mixingx-network-agent
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/environments/_common/registry.yaml
|
- $values/environments/demo/image-version.yaml
|
||||||
- $values/environments/tayo/network-agent-values.yaml
|
- $values/environments/demo/network-agent-values.yaml
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
- repoURL: http://git.mixingx.local/trace/mixingx.deploy.git
|
||||||
targetRevision: release
|
targetRevision: master
|
||||||
ref: values
|
ref: values
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
@@ -11,7 +11,7 @@ spec:
|
|||||||
- matrix:
|
- matrix:
|
||||||
generators:
|
generators:
|
||||||
- git:
|
- git:
|
||||||
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
repoURL: http://git.mixingx.local/trace/mixingx.deploy.git
|
||||||
revision: master
|
revision: master
|
||||||
files:
|
files:
|
||||||
- path: environments/demo/protocol-servers.yaml
|
- path: environments/demo/protocol-servers.yaml
|
||||||
@@ -23,7 +23,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
sources:
|
sources:
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
- repoURL: http://git.mixingx.local/trace/mixingx.hub.chart.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
path: release-charts/mixingx-protocol-server-unit
|
path: release-charts/mixingx-protocol-server-unit
|
||||||
helm:
|
helm:
|
||||||
@@ -46,12 +46,15 @@ spec:
|
|||||||
nodeSelector:
|
nodeSelector:
|
||||||
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
- repoURL: http://git.mixingx.local/trace/mixingx.deploy.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
ref: values
|
ref: values
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: mixingx
|
namespace: mixingx
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: false
|
||||||
|
selfHeal: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
@@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
sources:
|
sources:
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
- repoURL: http://git.mixingx.local/trace/mixingx.hub.chart.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
path: release-charts/mixingx-sso
|
path: release-charts/mixingx-sso
|
||||||
helm:
|
helm:
|
||||||
@@ -14,12 +14,15 @@ spec:
|
|||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/environments/demo/image-version.yaml
|
- $values/environments/demo/image-version.yaml
|
||||||
- $values/environments/demo/sso-values.yaml
|
- $values/environments/demo/sso-values.yaml
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
- repoURL: http://git.mixingx.local/trace/mixingx.deploy.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
ref: values
|
ref: values
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: mixingx
|
namespace: mixingx
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: false
|
||||||
|
selfHeal: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
@@ -6,12 +6,15 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
source:
|
source:
|
||||||
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
repoURL: http://git.mixingx.local/trace/mixingx.deploy.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
path: storageclasses
|
path: storageclasses
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: false
|
||||||
|
selfHeal: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- PruneLast=true
|
- PruneLast=true
|
||||||
@@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
sources:
|
sources:
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
- repoURL: http://git.mixingx.local/trace/mixingx.hub.chart.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
path: release-charts/mixingx-ultra
|
path: release-charts/mixingx-ultra
|
||||||
helm:
|
helm:
|
||||||
@@ -14,12 +14,15 @@ spec:
|
|||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/environments/demo/image-version.yaml
|
- $values/environments/demo/image-version.yaml
|
||||||
- $values/environments/demo/ultra-values.yaml
|
- $values/environments/demo/ultra-values.yaml
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
- repoURL: http://git.mixingx.local/trace/mixingx.deploy.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
ref: values
|
ref: values
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: mixingx
|
namespace: mixingx
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: false
|
||||||
|
selfHeal: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
@@ -0,0 +1,62 @@
|
|||||||
|
# Dev 环境(已退役)
|
||||||
|
|
||||||
|
> 状态:自 2026-08-26 起退役。本目录仅保留历史配置与启用说明,Argo CD 不再同步 dev 环境。
|
||||||
|
|
||||||
|
## 为什么退役
|
||||||
|
|
||||||
|
- dev 环境的历史使命是验证 mixingx.deploy「分支 + 文件夹」GitOps 结构(master 分支 + `environments/`、`applications/` 按环境分目录)是否可行。该结构已被 demo 环境与 mxlexus 客户现场(release 分支)生产性使用,验证目的已达成。
|
||||||
|
- 本地开发由 Aspire(`aspire run`,见 mixingx.hub 仓库)完整覆盖,反馈更快,不再需要 K8s dev 环境。
|
||||||
|
- dev 使用的伞形 chart `release-charts/mixingx-platform` 是 demo 已淘汰的旧部署模式(参见 `applications/demo/disabled/platform-legacy.yaml`),与当前「每服务独立 release」的目标形态不一致。
|
||||||
|
|
||||||
|
## 保留了什么
|
||||||
|
|
||||||
|
- `disabled/` 下三个清单:`platform.yaml`(伞形平台 Application)、`agents.yaml` / `edges.yaml`(ApplicationSet)。根 Application 的目录源不递归子目录,放这里即不会被同步,与 `applications/demo/disabled/` 同一先例。
|
||||||
|
- `bootstrap/disabled/mixingx-dev-root.yaml`:dev 的 app-of-apps 根 Application。
|
||||||
|
- `environments/dev/` 下全部 values 原样保留(image-version、platform-values、agents、edges、`*-common-values`)。
|
||||||
|
|
||||||
|
注意:`mixingx-platform` chart 是 dev 唯一的消费者,退役后它在 `release-charts/` 中已无活体使用。重新启用 dev 前先确认该 chart 仍存在且受维护;若已被清理,应按 demo 的「每服务独立 release」模式重建,而不是恢复伞形模式。
|
||||||
|
|
||||||
|
## 集群侧清理(退役时执行一次)
|
||||||
|
|
||||||
|
根 Application 与子 Application 不会自动消失(root 的 syncPolicy 是 `prune: false`),需要在集群里手动删除:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
kubectl -n argocd delete application mixingx-dev-root
|
||||||
|
kubectl -n argocd delete application mixingx-dev-platform mixingx-dev-agents mixingx-dev-edges
|
||||||
|
kubectl -n argocd delete application mixingx-dev-agent-demo mixingx-dev-edge-demo # ApplicationSet 生成的实例
|
||||||
|
kubectl delete namespace mixingx-dev
|
||||||
|
```
|
||||||
|
|
||||||
|
- Postgres / edge 数据盘的 PVC 带 `helm.sh/resource-policy: keep`,namespace 删除后 PV 可能残留,按需手动清理。
|
||||||
|
- 存储类(`longhorn-platform` / `longhorn-edge-local`)由 demo 的 storageclasses Application 管理,**不要删**。
|
||||||
|
|
||||||
|
## 如何重新启用
|
||||||
|
|
||||||
|
1. 前置条件:
|
||||||
|
- 集群已安装 Argo CD 并注册两个仓库(`mixingx.deploy.git`、`mixingx.hub.chart.git`)。
|
||||||
|
- 存储类存在:`kubectl get sc longhorn-platform longhorn-edge-local`(若集群上没有 demo 环境,先 apply `storageclasses/longhorn-demo.yaml`)。
|
||||||
|
- 节点标签:agent 默认调度到 `mixingx.io/edge-node=node1`、edge 到 `node2`(见 `environments/dev/agents.yaml`、`edges.yaml` 的 `nodeLabel`);按实际节点重新打标,或删掉 `nodeLabel` 字段。
|
||||||
|
- hosts/DNS:`dev.mixingx.local` 指向集群 ingress(traefik)。
|
||||||
|
- 镜像 tag:`environments/dev/image-version.yaml` 里只有一个历史分支构建的全局 tag,启用前确认 Harbor 上仍存在;不存在就先跑对应 Drone 流水线产出新 tag 再改该文件(dev 没有 CI 写回,tag 需手动维护)。
|
||||||
|
2. 恢复清单并推送:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
mv applications/dev/disabled/*.yaml applications/dev/
|
||||||
|
mv bootstrap/disabled/mixingx-dev-root.yaml bootstrap/
|
||||||
|
git add -A && git commit && git push # 推到 master
|
||||||
|
```
|
||||||
|
|
||||||
|
3. 引导(根 Application 不自动创建,需手动 apply):
|
||||||
|
|
||||||
|
```bash
|
||||||
|
kubectl apply -f bootstrap/mixingx-dev-root.yaml
|
||||||
|
```
|
||||||
|
|
||||||
|
root 会建出 `mixingx-dev-platform` / `mixingx-dev-agents` / `mixingx-dev-edges` 三个子应用;子应用默认不自动 sync,需在 Argo CD UI 手动 Sync。
|
||||||
|
4. 验证:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
kubectl -n mixingx-dev get pods
|
||||||
|
```
|
||||||
|
|
||||||
|
浏览器访问 `http://dev.mixingx.local`。
|
||||||
@@ -11,7 +11,7 @@ spec:
|
|||||||
- matrix:
|
- matrix:
|
||||||
generators:
|
generators:
|
||||||
- git:
|
- git:
|
||||||
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||||
revision: master
|
revision: master
|
||||||
files:
|
files:
|
||||||
- path: environments/dev/agents.yaml
|
- path: environments/dev/agents.yaml
|
||||||
@@ -23,7 +23,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
sources:
|
sources:
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
path: release-charts/mixingx-agent-unit
|
path: release-charts/mixingx-agent-unit
|
||||||
helm:
|
helm:
|
||||||
@@ -39,7 +39,7 @@ spec:
|
|||||||
nodeSelector:
|
nodeSelector:
|
||||||
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
ref: values
|
ref: values
|
||||||
destination:
|
destination:
|
||||||
@@ -11,7 +11,7 @@ spec:
|
|||||||
- matrix:
|
- matrix:
|
||||||
generators:
|
generators:
|
||||||
- git:
|
- git:
|
||||||
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||||
revision: master
|
revision: master
|
||||||
files:
|
files:
|
||||||
- path: environments/dev/edges.yaml
|
- path: environments/dev/edges.yaml
|
||||||
@@ -23,7 +23,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
sources:
|
sources:
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
path: release-charts/mixingx-edge-unit
|
path: release-charts/mixingx-edge-unit
|
||||||
helm:
|
helm:
|
||||||
@@ -35,11 +35,23 @@ spec:
|
|||||||
site: "{{ .id }}"
|
site: "{{ .id }}"
|
||||||
idWorkerId: {{ .idWorkerId }}
|
idWorkerId: {{ .idWorkerId }}
|
||||||
description: "{{ .description }}"
|
description: "{{ .description }}"
|
||||||
{{- if .nodeLabel }}
|
{{- if hasKey . "nodeLabel" }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
{{- /* ADS Router 逐实例身份透传,契约同 demo(本模板保持停用)。 */ -}}
|
||||||
|
{{- 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: master
|
targetRevision: master
|
||||||
ref: values
|
ref: values
|
||||||
destination:
|
destination:
|
||||||
@@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: default
|
project: default
|
||||||
sources:
|
sources:
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
path: release-charts/mixingx-platform
|
path: release-charts/mixingx-platform
|
||||||
helm:
|
helm:
|
||||||
@@ -14,7 +14,7 @@ spec:
|
|||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/environments/dev/image-version.yaml
|
- $values/environments/dev/image-version.yaml
|
||||||
- $values/environments/dev/platform-values.yaml
|
- $values/environments/dev/platform-values.yaml
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||||
targetRevision: master
|
targetRevision: master
|
||||||
ref: values
|
ref: values
|
||||||
destination:
|
destination:
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
# mxfoxconn850t1 客户特例:独立小 Application,只管理 environments/mxfoxconn850t1/extras/agent-postgres-lb/ 下的
|
|
||||||
# agent-mxfoxconn850t1-postgres-lb LoadBalancer Service。不挂进 agents ApplicationSet,
|
|
||||||
# 避免未来 mxfoxconn850t1 增加第二个 agent 时被重复渲染。
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mxfoxconn850t1-agent-postgres-lb
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
source:
|
|
||||||
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
path: environments/mxfoxconn850t1/extras/agent-postgres-lb
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
# mxfoxconn850t1 — Agent 单元 ApplicationSet(按 environments/mxfoxconn850t1/agents.yaml 清单生成)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: ApplicationSet
|
|
||||||
metadata:
|
|
||||||
name: mixingx-mxfoxconn850t1-agents
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
goTemplate: true
|
|
||||||
goTemplateOptions:
|
|
||||||
- missingkey=error
|
|
||||||
generators:
|
|
||||||
- matrix:
|
|
||||||
generators:
|
|
||||||
- git:
|
|
||||||
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
revision: release
|
|
||||||
files:
|
|
||||||
- path: environments/mxfoxconn850t1/agents.yaml
|
|
||||||
- list:
|
|
||||||
elementsYaml: '{{ .agents | toJson }}'
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
name: 'mixingx-agent-{{ .id }}'
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.90
|
|
||||||
path: release-charts/mixingx-agent-unit
|
|
||||||
helm:
|
|
||||||
releaseName: 'mixingx-agent-{{ .id }}'
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/mxfoxconn850t1/image-version.yaml
|
|
||||||
- $values/environments/mxfoxconn850t1/agent-common-values.yaml
|
|
||||||
values: |
|
|
||||||
site: "{{ .id }}"
|
|
||||||
description: "{{ .description }}"
|
|
||||||
phaseType: "{{ .phaseType }}"
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# mxfoxconn850t1 — mixingx-audit(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxfoxconn850t1 / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-audit
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.90
|
|
||||||
path: release-charts/mixingx-audit
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-audit
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/mxfoxconn850t1/image-version.yaml
|
|
||||||
- $values/environments/mxfoxconn850t1/audit-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,55 +0,0 @@
|
|||||||
# mxfoxconn850t1 — Edge 单元 ApplicationSet(按 environments/mxfoxconn850t1/edges.yaml 清单生成)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: ApplicationSet
|
|
||||||
metadata:
|
|
||||||
name: mixingx-mxfoxconn850t1-edges
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
goTemplate: true
|
|
||||||
goTemplateOptions:
|
|
||||||
- missingkey=error
|
|
||||||
generators:
|
|
||||||
- matrix:
|
|
||||||
generators:
|
|
||||||
- git:
|
|
||||||
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
revision: release
|
|
||||||
files:
|
|
||||||
- path: environments/mxfoxconn850t1/edges.yaml
|
|
||||||
- list:
|
|
||||||
elementsYaml: '{{ .edges | toJson }}'
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
name: 'mixingx-edge-{{ .id }}'
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.90
|
|
||||||
path: release-charts/mixingx-edge-unit
|
|
||||||
helm:
|
|
||||||
releaseName: 'mixingx-edge-{{ .id }}'
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/mxfoxconn850t1/image-version.yaml
|
|
||||||
- $values/environments/mxfoxconn850t1/edge-common-values.yaml
|
|
||||||
values: |
|
|
||||||
site: "{{ .id }}"
|
|
||||||
idWorkerId: {{ .idWorkerId }}
|
|
||||||
description: "{{ .description }}"
|
|
||||||
{{- if hasKey . "nodeLabel" }}
|
|
||||||
nodeSelector:
|
|
||||||
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
|
||||||
{{- end }}
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# mxfoxconn850t1 — mixingx-gateway(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxfoxconn850t1 / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-gateway
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.90
|
|
||||||
path: release-charts/mixingx-gateway
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-gateway
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/mxfoxconn850t1/image-version.yaml
|
|
||||||
- $values/environments/mxfoxconn850t1/gateway-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# mxfoxconn850t1 — mixingx-infra(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxfoxconn850t1 / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-infra
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.90
|
|
||||||
path: release-charts/mixingx-infra
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-infra
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/mxfoxconn850t1/image-version.yaml
|
|
||||||
- $values/environments/mxfoxconn850t1/infra-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
# mxfoxconn850t1 — MQTTX 调试客户端
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-mqttx
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.90
|
|
||||||
path: release-charts/mixingx-mqttx
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-mqttx
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/mxfoxconn850t1/mqttx-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-network-agent
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: master
|
|
||||||
path: release-charts/mixingx-network-agent
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-network-agent
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/mxfoxconn850t1/network-agent-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mxfoxconn850t1-root
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
source:
|
|
||||||
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
path: applications/mxfoxconn850t1
|
|
||||||
directory:
|
|
||||||
exclude: "root.yaml"
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: argocd
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: false
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# mxfoxconn850t1 — mixingx-sso(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxfoxconn850t1 / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-sso
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.90
|
|
||||||
path: release-charts/mixingx-sso
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-sso
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/mxfoxconn850t1/image-version.yaml
|
|
||||||
- $values/environments/mxfoxconn850t1/sso-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# mxfoxconn850t1 — mixingx-ultra(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxfoxconn850t1 / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-ultra
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.90
|
|
||||||
path: release-charts/mixingx-ultra
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-ultra
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/mxfoxconn850t1/image-version.yaml
|
|
||||||
- $values/environments/mxfoxconn850t1/ultra-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
# mxlexus — Agent 单元 ApplicationSet(按 environments/mxlexus/agents.yaml 清单生成)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: ApplicationSet
|
|
||||||
metadata:
|
|
||||||
name: mixingx-mxlexus-agents
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
goTemplate: true
|
|
||||||
goTemplateOptions:
|
|
||||||
- missingkey=error
|
|
||||||
generators:
|
|
||||||
- matrix:
|
|
||||||
generators:
|
|
||||||
- git:
|
|
||||||
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
revision: release
|
|
||||||
files:
|
|
||||||
- path: environments/mxlexus/agents.yaml
|
|
||||||
- list:
|
|
||||||
elementsYaml: '{{ .agents | toJson }}'
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
name: 'mixingx-agent-{{ .id }}'
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.103
|
|
||||||
path: release-charts/mixingx-agent-unit
|
|
||||||
helm:
|
|
||||||
releaseName: 'mixingx-agent-{{ .id }}'
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/mxlexus/image-version.yaml
|
|
||||||
- $values/environments/mxlexus/agent-common-values.yaml
|
|
||||||
values: |
|
|
||||||
site: "{{ .id }}"
|
|
||||||
description: "{{ .description }}"
|
|
||||||
phaseType: "{{ .phaseType }}"
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# mxlexus — mixingx-audit(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxlexus / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-audit
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.103
|
|
||||||
path: release-charts/mixingx-audit
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-audit
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/mxlexus/image-version.yaml
|
|
||||||
- $values/environments/mxlexus/audit-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,68 +0,0 @@
|
|||||||
# mxlexus — Edge 单元 ApplicationSet(按 environments/mxlexus/edges.yaml 清单生成)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: ApplicationSet
|
|
||||||
metadata:
|
|
||||||
name: mixingx-mxlexus-edges
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
goTemplate: true
|
|
||||||
goTemplateOptions:
|
|
||||||
- missingkey=error
|
|
||||||
generators:
|
|
||||||
- matrix:
|
|
||||||
generators:
|
|
||||||
- git:
|
|
||||||
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
revision: release
|
|
||||||
files:
|
|
||||||
- path: environments/mxlexus/edges.yaml
|
|
||||||
- list:
|
|
||||||
elementsYaml: '{{ .edges | toJson }}'
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
name: 'mixingx-edge-{{ .id }}'
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.103
|
|
||||||
path: release-charts/mixingx-edge-unit
|
|
||||||
helm:
|
|
||||||
releaseName: 'mixingx-edge-{{ .id }}'
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/mxlexus/image-version.yaml
|
|
||||||
- $values/environments/mxlexus/edge-common-values.yaml
|
|
||||||
values: |
|
|
||||||
site: "{{ .id }}"
|
|
||||||
idWorkerId: {{ .idWorkerId }}
|
|
||||||
description: "{{ .description }}"
|
|
||||||
{{- if hasKey . "nodeLabel" }}
|
|
||||||
nodeSelector:
|
|
||||||
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
|
||||||
{{- end }}
|
|
||||||
{{- /* ADS Router 逐实例身份透传(chart 默认 enabled=true):实例缺 adsRouter
|
|
||||||
身份时不在此兜底,由 chart 渲染守卫明确拒绝。 */ -}}
|
|
||||||
{{- if hasKey . "adsRouter" }}
|
|
||||||
adsRouter:
|
|
||||||
localNetId: "{{ .adsRouter.localNetId }}"
|
|
||||||
publicAddress: "{{ .adsRouter.publicAddress }}"
|
|
||||||
{{- if hasKey .adsRouter "clientEndPoint" }}
|
|
||||||
clientEndPoint: "{{ .adsRouter.clientEndPoint }}"
|
|
||||||
{{- end }}
|
|
||||||
{{- if hasKey .adsRouter "externalPort" }}
|
|
||||||
externalPort: {{ .adsRouter.externalPort }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# mxlexus — mixingx-gateway(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxlexus / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-gateway
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.103
|
|
||||||
path: release-charts/mixingx-gateway
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-gateway
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/mxlexus/image-version.yaml
|
|
||||||
- $values/environments/mxlexus/gateway-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# mxlexus — mixingx-infra(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxlexus / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-infra
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.103
|
|
||||||
path: release-charts/mixingx-infra
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-infra
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/mxlexus/image-version.yaml
|
|
||||||
- $values/environments/mxlexus/infra-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
# mxlexus — MQTTX 调试客户端(暴露:经 tailscale http://100.64.0.17:8082;终配后改企业网地址)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-mqttx
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.103
|
|
||||||
path: release-charts/mixingx-mqttx
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-mqttx
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/mxlexus/mqttx-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-network-agent
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: master
|
|
||||||
path: release-charts/mixingx-network-agent
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-network-agent
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/mxlexus/network-agent-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# mxlexus — mixingx-sso(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxlexus / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-sso
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.103
|
|
||||||
path: release-charts/mixingx-sso
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-sso
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/mxlexus/image-version.yaml
|
|
||||||
- $values/environments/mxlexus/sso-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# mxlexus — mixingx-ultra(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxlexus / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-ultra
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.103
|
|
||||||
path: release-charts/mixingx-ultra
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-ultra
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/mxlexus/image-version.yaml
|
|
||||||
- $values/environments/mxlexus/ultra-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
# mxlexus2 — Agent 单元 ApplicationSet(按 environments/mxlexus2/agents.yaml 清单生成)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: ApplicationSet
|
|
||||||
metadata:
|
|
||||||
name: mixingx-mxlexus2-agents
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
goTemplate: true
|
|
||||||
goTemplateOptions:
|
|
||||||
- missingkey=error
|
|
||||||
generators:
|
|
||||||
- matrix:
|
|
||||||
generators:
|
|
||||||
- git:
|
|
||||||
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
revision: release
|
|
||||||
files:
|
|
||||||
- path: environments/mxlexus2/agents.yaml
|
|
||||||
- list:
|
|
||||||
elementsYaml: '{{ .agents | toJson }}'
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
name: 'mixingx-agent-{{ .id }}'
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.73
|
|
||||||
path: release-charts/mixingx-agent-unit
|
|
||||||
helm:
|
|
||||||
releaseName: 'mixingx-agent-{{ .id }}'
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/mxlexus2/image-version.yaml
|
|
||||||
- $values/environments/mxlexus2/agent-common-values.yaml
|
|
||||||
values: |
|
|
||||||
site: "{{ .id }}"
|
|
||||||
description: "{{ .description }}"
|
|
||||||
phaseType: "{{ .phaseType }}"
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# mxlexus2 — mixingx-audit(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxlexus2 / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-audit
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.15
|
|
||||||
path: release-charts/mixingx-audit
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-audit
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/mxlexus2/image-version.yaml
|
|
||||||
- $values/environments/mxlexus2/audit-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,68 +0,0 @@
|
|||||||
# mxlexus2 — Edge 单元 ApplicationSet(按 environments/mxlexus2/edges.yaml 清单生成)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: ApplicationSet
|
|
||||||
metadata:
|
|
||||||
name: mixingx-mxlexus2-edges
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
goTemplate: true
|
|
||||||
goTemplateOptions:
|
|
||||||
- missingkey=error
|
|
||||||
generators:
|
|
||||||
- matrix:
|
|
||||||
generators:
|
|
||||||
- git:
|
|
||||||
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
revision: release
|
|
||||||
files:
|
|
||||||
- path: environments/mxlexus2/edges.yaml
|
|
||||||
- list:
|
|
||||||
elementsYaml: '{{ .edges | toJson }}'
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
name: 'mixingx-edge-{{ .id }}'
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.66
|
|
||||||
path: release-charts/mixingx-edge-unit
|
|
||||||
helm:
|
|
||||||
releaseName: 'mixingx-edge-{{ .id }}'
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/mxlexus2/image-version.yaml
|
|
||||||
- $values/environments/mxlexus2/edge-common-values.yaml
|
|
||||||
values: |
|
|
||||||
site: "{{ .id }}"
|
|
||||||
idWorkerId: {{ .idWorkerId }}
|
|
||||||
description: "{{ .description }}"
|
|
||||||
{{- if hasKey . "nodeLabel" }}
|
|
||||||
nodeSelector:
|
|
||||||
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
|
||||||
{{- end }}
|
|
||||||
{{- /* ADS Router 逐实例身份透传(chart 默认 enabled=true):实例缺 adsRouter
|
|
||||||
身份时不在此兜底,由 chart 渲染守卫明确拒绝。 */ -}}
|
|
||||||
{{- if hasKey . "adsRouter" }}
|
|
||||||
adsRouter:
|
|
||||||
localNetId: "{{ .adsRouter.localNetId }}"
|
|
||||||
publicAddress: "{{ .adsRouter.publicAddress }}"
|
|
||||||
{{- if hasKey .adsRouter "clientEndPoint" }}
|
|
||||||
clientEndPoint: "{{ .adsRouter.clientEndPoint }}"
|
|
||||||
{{- end }}
|
|
||||||
{{- if hasKey .adsRouter "externalPort" }}
|
|
||||||
externalPort: {{ .adsRouter.externalPort }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# mxlexus2 — mixingx-gateway(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxlexus2 / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-gateway
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.18
|
|
||||||
path: release-charts/mixingx-gateway
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-gateway
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/mxlexus2/image-version.yaml
|
|
||||||
- $values/environments/mxlexus2/gateway-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# mxlexus2 — mixingx-infra(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxlexus2 / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-infra
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.73
|
|
||||||
path: release-charts/mixingx-infra
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-infra
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/mxlexus2/image-version.yaml
|
|
||||||
- $values/environments/mxlexus2/infra-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
# mxlexus2 — MQTTX 调试客户端(暴露:经 tailscale http://100.64.0.17:8082;终配后改企业网地址)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-mqttx
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.73
|
|
||||||
path: release-charts/mixingx-mqttx
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-mqttx
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/mxlexus2/mqttx-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-network-agent
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: master
|
|
||||||
path: release-charts/mixingx-network-agent
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-network-agent
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/mxlexus2/network-agent-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mxlexus2-root
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
source:
|
|
||||||
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
path: applications/mxlexus2
|
|
||||||
directory:
|
|
||||||
exclude: "root.yaml"
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: argocd
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: false
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# mxlexus2 — mixingx-sso(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxlexus2 / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-sso
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.51
|
|
||||||
path: release-charts/mixingx-sso
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-sso
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/mxlexus2/image-version.yaml
|
|
||||||
- $values/environments/mxlexus2/sso-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# mxlexus2 — mixingx-ultra(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxlexus2 / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-ultra
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.43
|
|
||||||
path: release-charts/mixingx-ultra
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-ultra
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/mxlexus2/image-version.yaml
|
|
||||||
- $values/environments/mxlexus2/ultra-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
# mxtest — Agent 单元 ApplicationSet(按 environments/mxtest/agents.yaml 清单生成)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: ApplicationSet
|
|
||||||
metadata:
|
|
||||||
name: mixingx-mxtest-agents
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
goTemplate: true
|
|
||||||
goTemplateOptions:
|
|
||||||
- missingkey=error
|
|
||||||
generators:
|
|
||||||
- matrix:
|
|
||||||
generators:
|
|
||||||
- git:
|
|
||||||
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
revision: release
|
|
||||||
files:
|
|
||||||
- path: environments/mxtest/agents.yaml
|
|
||||||
- list:
|
|
||||||
elementsYaml: '{{ .agents | toJson }}'
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
name: 'mixingx-agent-{{ .id }}'
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.32
|
|
||||||
path: release-charts/mixingx-agent-unit
|
|
||||||
helm:
|
|
||||||
releaseName: 'mixingx-agent-{{ .id }}'
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/mxtest/image-version.yaml
|
|
||||||
- $values/environments/mxtest/agent-common-values.yaml
|
|
||||||
values: |
|
|
||||||
site: "{{ .id }}"
|
|
||||||
description: "{{ .description }}"
|
|
||||||
phaseType: "{{ .phaseType }}"
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# mxtest — mixingx-audit(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxtest / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-audit
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.7
|
|
||||||
path: release-charts/mixingx-audit
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-audit
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/mxtest/image-version.yaml
|
|
||||||
- $values/environments/mxtest/audit-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,55 +0,0 @@
|
|||||||
# mxtest — Edge 单元 ApplicationSet(按 environments/mxtest/edges.yaml 清单生成)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: ApplicationSet
|
|
||||||
metadata:
|
|
||||||
name: mixingx-mxtest-edges
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
goTemplate: true
|
|
||||||
goTemplateOptions:
|
|
||||||
- missingkey=error
|
|
||||||
generators:
|
|
||||||
- matrix:
|
|
||||||
generators:
|
|
||||||
- git:
|
|
||||||
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
revision: release
|
|
||||||
files:
|
|
||||||
- path: environments/mxtest/edges.yaml
|
|
||||||
- list:
|
|
||||||
elementsYaml: '{{ .edges | toJson }}'
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
name: 'mixingx-edge-{{ .id }}'
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.3
|
|
||||||
path: release-charts/mixingx-edge-unit
|
|
||||||
helm:
|
|
||||||
releaseName: 'mixingx-edge-{{ .id }}'
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/mxtest/image-version.yaml
|
|
||||||
- $values/environments/mxtest/edge-common-values.yaml
|
|
||||||
values: |
|
|
||||||
site: "{{ .id }}"
|
|
||||||
idWorkerId: {{ .idWorkerId }}
|
|
||||||
description: "{{ .description }}"
|
|
||||||
{{- if hasKey . "nodeLabel" }}
|
|
||||||
nodeSelector:
|
|
||||||
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
|
||||||
{{- end }}
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# mxtest — mixingx-gateway(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxtest / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-gateway
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.13
|
|
||||||
path: release-charts/mixingx-gateway
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-gateway
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/mxtest/image-version.yaml
|
|
||||||
- $values/environments/mxtest/gateway-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# mxtest — mixingx-infra(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxtest / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-infra
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.49
|
|
||||||
path: release-charts/mixingx-infra
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-infra
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/mxtest/image-version.yaml
|
|
||||||
- $values/environments/mxtest/infra-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
# mxtest — MQTTX 调试客户端(暴露:http://192.168.1.224:8082)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-mqttx
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.49
|
|
||||||
path: release-charts/mixingx-mqttx
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-mqttx
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/mxtest/mqttx-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-network-agent
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: master
|
|
||||||
path: release-charts/mixingx-network-agent
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-network-agent
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/mxtest/network-agent-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# mxtest — mixingx-sso(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxtest / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-sso
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.16
|
|
||||||
path: release-charts/mixingx-sso
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-sso
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/mxtest/image-version.yaml
|
|
||||||
- $values/environments/mxtest/sso-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# mxtest — mixingx-ultra(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxtest / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-ultra
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.6
|
|
||||||
path: release-charts/mixingx-ultra
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-ultra
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/mxtest/image-version.yaml
|
|
||||||
- $values/environments/mxtest/ultra-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
# sanhua 客户特例:独立小 Application,只管理 environments/sanhua/extras/agent-postgres-lb/ 下的
|
|
||||||
# agent-sanhua-postgres-lb LoadBalancer Service。不挂进 agents ApplicationSet,
|
|
||||||
# 避免未来 sanhua 增加第二个 agent 时被重复渲染。
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: sanhua-agent-postgres-lb
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
source:
|
|
||||||
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
path: environments/sanhua/extras/agent-postgres-lb
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
# sanhua — Agent 单元 ApplicationSet(按 environments/sanhua/agents.yaml 清单生成)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: ApplicationSet
|
|
||||||
metadata:
|
|
||||||
name: mixingx-sanhua-agents
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
goTemplate: true
|
|
||||||
goTemplateOptions:
|
|
||||||
- missingkey=error
|
|
||||||
generators:
|
|
||||||
- matrix:
|
|
||||||
generators:
|
|
||||||
- git:
|
|
||||||
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
revision: release
|
|
||||||
files:
|
|
||||||
- path: environments/sanhua/agents.yaml
|
|
||||||
- list:
|
|
||||||
elementsYaml: '{{ .agents | toJson }}'
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
name: 'mixingx-agent-{{ .id }}'
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.100
|
|
||||||
path: release-charts/mixingx-agent-unit
|
|
||||||
helm:
|
|
||||||
releaseName: 'mixingx-agent-{{ .id }}'
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/sanhua/image-version.yaml
|
|
||||||
- $values/environments/sanhua/agent-common-values.yaml
|
|
||||||
values: |
|
|
||||||
site: "{{ .id }}"
|
|
||||||
description: "{{ .description }}"
|
|
||||||
phaseType: "{{ .phaseType }}"
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# sanhua — mixingx-audit(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+sanhua / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-audit
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.100
|
|
||||||
path: release-charts/mixingx-audit
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-audit
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/sanhua/image-version.yaml
|
|
||||||
- $values/environments/sanhua/audit-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,31 +0,0 @@
|
|||||||
# sanhua — code-server 测试 IDE(浏览器版 VS Code)
|
|
||||||
# 注意:chart 锁 chart-v1.0.49(首个包含 mixingx-codeserver 的 tag);
|
|
||||||
# 其余 sanhua 应用仍在 chart-v1.0.48,下次交付晋级时对齐。
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-codeserver
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.49
|
|
||||||
path: release-charts/mixingx-codeserver
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-codeserver
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/sanhua/codeserver-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,68 +0,0 @@
|
|||||||
# sanhua — Edge 单元 ApplicationSet(按 environments/sanhua/edges.yaml 清单生成)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: ApplicationSet
|
|
||||||
metadata:
|
|
||||||
name: mixingx-sanhua-edges
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
goTemplate: true
|
|
||||||
goTemplateOptions:
|
|
||||||
- missingkey=error
|
|
||||||
generators:
|
|
||||||
- matrix:
|
|
||||||
generators:
|
|
||||||
- git:
|
|
||||||
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
revision: release
|
|
||||||
files:
|
|
||||||
- path: environments/sanhua/edges.yaml
|
|
||||||
- list:
|
|
||||||
elementsYaml: '{{ .edges | toJson }}'
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
name: 'mixingx-edge-{{ .id }}'
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.100
|
|
||||||
path: release-charts/mixingx-edge-unit
|
|
||||||
helm:
|
|
||||||
releaseName: 'mixingx-edge-{{ .id }}'
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/sanhua/image-version.yaml
|
|
||||||
- $values/environments/sanhua/edge-common-values.yaml
|
|
||||||
values: |
|
|
||||||
site: "{{ .id }}"
|
|
||||||
idWorkerId: {{ .idWorkerId }}
|
|
||||||
description: "{{ .description }}"
|
|
||||||
{{- if hasKey . "nodeLabel" }}
|
|
||||||
nodeSelector:
|
|
||||||
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
|
||||||
{{- end }}
|
|
||||||
{{- /* ADS Router 逐实例身份透传(chart 默认 enabled=true):实例缺 adsRouter
|
|
||||||
身份时不在此兜底,由 chart 渲染守卫明确拒绝。 */ -}}
|
|
||||||
{{- if hasKey . "adsRouter" }}
|
|
||||||
adsRouter:
|
|
||||||
localNetId: "{{ .adsRouter.localNetId }}"
|
|
||||||
publicAddress: "{{ .adsRouter.publicAddress }}"
|
|
||||||
{{- if hasKey .adsRouter "clientEndPoint" }}
|
|
||||||
clientEndPoint: "{{ .adsRouter.clientEndPoint }}"
|
|
||||||
{{- end }}
|
|
||||||
{{- if hasKey .adsRouter "externalPort" }}
|
|
||||||
externalPort: {{ .adsRouter.externalPort }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# sanhua — mixingx-gateway(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+sanhua / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-gateway
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.100
|
|
||||||
path: release-charts/mixingx-gateway
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-gateway
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/sanhua/image-version.yaml
|
|
||||||
- $values/environments/sanhua/gateway-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# sanhua — mixingx-infra(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+sanhua / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-infra
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.100
|
|
||||||
path: release-charts/mixingx-infra
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-infra
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/sanhua/image-version.yaml
|
|
||||||
- $values/environments/sanhua/infra-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
# sanhua — MQTTX 调试客户端
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-mqttx
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.100
|
|
||||||
path: release-charts/mixingx-mqttx
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-mqttx
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/sanhua/mqttx-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-network-agent
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: master
|
|
||||||
path: release-charts/mixingx-network-agent
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-network-agent
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/sanhua/network-agent-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: sanhua-root
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
source:
|
|
||||||
repoURL: https://git.mixingx-tech.com/trace/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
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# sanhua — mixingx-sso(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+sanhua / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-sso
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.100
|
|
||||||
path: release-charts/mixingx-sso
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-sso
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/sanhua/image-version.yaml
|
|
||||||
- $values/environments/sanhua/sso-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# sanhua — mixingx-ultra(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+sanhua / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-ultra
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.100
|
|
||||||
path: release-charts/mixingx-ultra
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-ultra
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/sanhua/image-version.yaml
|
|
||||||
- $values/environments/sanhua/ultra-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
# sciveda — Agent 单元 ApplicationSet(按 environments/sciveda/agents.yaml 清单生成)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: ApplicationSet
|
|
||||||
metadata:
|
|
||||||
name: mixingx-sciveda-agents
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
goTemplate: true
|
|
||||||
goTemplateOptions:
|
|
||||||
- missingkey=error
|
|
||||||
generators:
|
|
||||||
- matrix:
|
|
||||||
generators:
|
|
||||||
- git:
|
|
||||||
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
revision: release
|
|
||||||
files:
|
|
||||||
- path: environments/sciveda/agents.yaml
|
|
||||||
- list:
|
|
||||||
elementsYaml: '{{ .agents | toJson }}'
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
name: 'mixingx-agent-{{ .id }}'
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.99
|
|
||||||
path: release-charts/mixingx-agent-unit
|
|
||||||
helm:
|
|
||||||
releaseName: 'mixingx-agent-{{ .id }}'
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/sciveda/image-version.yaml
|
|
||||||
- $values/environments/sciveda/agent-common-values.yaml
|
|
||||||
values: |
|
|
||||||
site: "{{ .id }}"
|
|
||||||
description: "{{ .description }}"
|
|
||||||
phaseType: "{{ .phaseType }}"
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# sciveda — mixingx-audit(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+sciveda / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-audit
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.99
|
|
||||||
path: release-charts/mixingx-audit
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-audit
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/sciveda/image-version.yaml
|
|
||||||
- $values/environments/sciveda/audit-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,68 +0,0 @@
|
|||||||
# sciveda — Edge 单元 ApplicationSet(按 environments/sciveda/edges.yaml 清单生成)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: ApplicationSet
|
|
||||||
metadata:
|
|
||||||
name: mixingx-sciveda-edges
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
goTemplate: true
|
|
||||||
goTemplateOptions:
|
|
||||||
- missingkey=error
|
|
||||||
generators:
|
|
||||||
- matrix:
|
|
||||||
generators:
|
|
||||||
- git:
|
|
||||||
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
revision: release
|
|
||||||
files:
|
|
||||||
- path: environments/sciveda/edges.yaml
|
|
||||||
- list:
|
|
||||||
elementsYaml: '{{ .edges | toJson }}'
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
name: 'mixingx-edge-{{ .id }}'
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.99
|
|
||||||
path: release-charts/mixingx-edge-unit
|
|
||||||
helm:
|
|
||||||
releaseName: 'mixingx-edge-{{ .id }}'
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/sciveda/image-version.yaml
|
|
||||||
- $values/environments/sciveda/edge-common-values.yaml
|
|
||||||
values: |
|
|
||||||
site: "{{ .id }}"
|
|
||||||
idWorkerId: {{ .idWorkerId }}
|
|
||||||
description: "{{ .description }}"
|
|
||||||
{{- if hasKey . "nodeLabel" }}
|
|
||||||
nodeSelector:
|
|
||||||
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
|
||||||
{{- end }}
|
|
||||||
{{- /* ADS Router 逐实例身份透传(chart 默认 enabled=true):实例缺 adsRouter
|
|
||||||
身份时不在此兜底,由 chart 渲染守卫明确拒绝。 */ -}}
|
|
||||||
{{- if hasKey . "adsRouter" }}
|
|
||||||
adsRouter:
|
|
||||||
localNetId: "{{ .adsRouter.localNetId }}"
|
|
||||||
publicAddress: "{{ .adsRouter.publicAddress }}"
|
|
||||||
{{- if hasKey .adsRouter "clientEndPoint" }}
|
|
||||||
clientEndPoint: "{{ .adsRouter.clientEndPoint }}"
|
|
||||||
{{- end }}
|
|
||||||
{{- if hasKey .adsRouter "externalPort" }}
|
|
||||||
externalPort: {{ .adsRouter.externalPort }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# sciveda — mixingx-gateway(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+sciveda / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-gateway
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.95
|
|
||||||
path: release-charts/mixingx-gateway
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-gateway
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/sciveda/image-version.yaml
|
|
||||||
- $values/environments/sciveda/gateway-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# sciveda — mixingx-infra(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+sciveda / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-infra
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.99
|
|
||||||
path: release-charts/mixingx-infra
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-infra
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/sciveda/image-version.yaml
|
|
||||||
- $values/environments/sciveda/infra-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
# sciveda — MQTTX 调试客户端
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-mqttx
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.99
|
|
||||||
path: release-charts/mixingx-mqttx
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-mqttx
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/sciveda/mqttx-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,28 +0,0 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-network-agent
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: master
|
|
||||||
path: release-charts/mixingx-network-agent
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-network-agent
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/sciveda/network-agent-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: sciveda-root
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
source:
|
|
||||||
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
path: applications/sciveda
|
|
||||||
directory:
|
|
||||||
exclude: "root.yaml"
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: argocd
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: false
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# sciveda — mixingx-sso(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+sciveda / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-sso
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.99
|
|
||||||
path: release-charts/mixingx-sso
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-sso
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/sciveda/image-version.yaml
|
|
||||||
- $values/environments/sciveda/sso-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# sciveda — mixingx-ultra(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+sciveda / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-ultra
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.99
|
|
||||||
path: release-charts/mixingx-ultra
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-ultra
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/sciveda/image-version.yaml
|
|
||||||
- $values/environments/sciveda/ultra-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
# tayo — Agent 单元 ApplicationSet(按 environments/tayo/agents.yaml 清单生成)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: ApplicationSet
|
|
||||||
metadata:
|
|
||||||
name: mixingx-tayo-agents
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
goTemplate: true
|
|
||||||
goTemplateOptions:
|
|
||||||
- missingkey=error
|
|
||||||
generators:
|
|
||||||
- matrix:
|
|
||||||
generators:
|
|
||||||
- git:
|
|
||||||
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
revision: release
|
|
||||||
files:
|
|
||||||
- path: environments/tayo/agents.yaml
|
|
||||||
- list:
|
|
||||||
elementsYaml: '{{ .agents | toJson }}'
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
name: 'mixingx-agent-{{ .id }}'
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.102
|
|
||||||
path: release-charts/mixingx-agent-unit
|
|
||||||
helm:
|
|
||||||
releaseName: 'mixingx-agent-{{ .id }}'
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/tayo/image-version.yaml
|
|
||||||
- $values/environments/tayo/agent-common-values.yaml
|
|
||||||
values: |
|
|
||||||
site: "{{ .id }}"
|
|
||||||
description: "{{ .description }}"
|
|
||||||
phaseType: "{{ .phaseType }}"
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# tayo — mixingx-audit(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+tayo / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-audit
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.102
|
|
||||||
path: release-charts/mixingx-audit
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-audit
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/tayo/image-version.yaml
|
|
||||||
- $values/environments/tayo/audit-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,68 +0,0 @@
|
|||||||
# tayo — Edge 单元 ApplicationSet(按 environments/tayo/edges.yaml 清单生成)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: ApplicationSet
|
|
||||||
metadata:
|
|
||||||
name: mixingx-tayo-edges
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
goTemplate: true
|
|
||||||
goTemplateOptions:
|
|
||||||
- missingkey=error
|
|
||||||
generators:
|
|
||||||
- matrix:
|
|
||||||
generators:
|
|
||||||
- git:
|
|
||||||
repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
revision: release
|
|
||||||
files:
|
|
||||||
- path: environments/tayo/edges.yaml
|
|
||||||
- list:
|
|
||||||
elementsYaml: '{{ .edges | toJson }}'
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
name: 'mixingx-edge-{{ .id }}'
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.102
|
|
||||||
path: release-charts/mixingx-edge-unit
|
|
||||||
helm:
|
|
||||||
releaseName: 'mixingx-edge-{{ .id }}'
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/tayo/image-version.yaml
|
|
||||||
- $values/environments/tayo/edge-common-values.yaml
|
|
||||||
values: |
|
|
||||||
site: "{{ .id }}"
|
|
||||||
idWorkerId: {{ .idWorkerId }}
|
|
||||||
description: "{{ .description }}"
|
|
||||||
{{- if hasKey . "nodeLabel" }}
|
|
||||||
nodeSelector:
|
|
||||||
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
|
||||||
{{- end }}
|
|
||||||
{{- /* ADS Router 逐实例身份透传(chart 默认 enabled=true):实例缺 adsRouter
|
|
||||||
身份时不在此兜底,由 chart 渲染守卫明确拒绝。 */ -}}
|
|
||||||
{{- if hasKey . "adsRouter" }}
|
|
||||||
adsRouter:
|
|
||||||
localNetId: "{{ .adsRouter.localNetId }}"
|
|
||||||
publicAddress: "{{ .adsRouter.publicAddress }}"
|
|
||||||
{{- if hasKey .adsRouter "clientEndPoint" }}
|
|
||||||
clientEndPoint: "{{ .adsRouter.clientEndPoint }}"
|
|
||||||
{{- end }}
|
|
||||||
{{- if hasKey .adsRouter "externalPort" }}
|
|
||||||
externalPort: {{ .adsRouter.externalPort }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# tayo — mixingx-gateway(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+tayo / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-gateway
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.102
|
|
||||||
path: release-charts/mixingx-gateway
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-gateway
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/tayo/image-version.yaml
|
|
||||||
- $values/environments/tayo/gateway-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# tayo — mixingx-infra(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+tayo / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-infra
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.102
|
|
||||||
path: release-charts/mixingx-infra
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-infra
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/tayo/image-version.yaml
|
|
||||||
- $values/environments/tayo/infra-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
# tayo — MQTTX 调试客户端
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-mqttx
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.102
|
|
||||||
path: release-charts/mixingx-mqttx
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-mqttx
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/tayo/mqttx-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# tayo — mixingx-sso(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+tayo / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-sso
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.102
|
|
||||||
path: release-charts/mixingx-sso
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-sso
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/tayo/image-version.yaml
|
|
||||||
- $values/environments/tayo/sso-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# tayo — mixingx-ultra(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+tayo / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-ultra
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.102
|
|
||||||
path: release-charts/mixingx-ultra
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-ultra
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/tayo/image-version.yaml
|
|
||||||
- $values/environments/tayo/ultra-values.yaml
|
|
||||||
- repoURL: https://git.mixingx-tech.com/trace/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
Loaded 100 of 292 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user