Compare commits
53
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
170dc26ee0 | ||
|
|
df5778f2fc | ||
|
|
e26d1934d6 | ||
|
|
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,8 +1,7 @@
|
||||
# daye — Agent 单元 ApplicationSet(按 environments/daye/agents.yaml 清单生成)
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: ApplicationSet
|
||||
metadata:
|
||||
name: mixingx-daye-agents
|
||||
name: mixingx-agents
|
||||
namespace: argocd
|
||||
spec:
|
||||
goTemplate: true
|
||||
@@ -13,9 +12,9 @@ spec:
|
||||
generators:
|
||||
- git:
|
||||
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
revision: release
|
||||
revision: develop/basic-test
|
||||
files:
|
||||
- path: environments/daye/agents.yaml
|
||||
- path: environments/basic-test/agents.yaml
|
||||
- list:
|
||||
elementsYaml: '{{ .agents | toJson }}'
|
||||
template:
|
||||
@@ -25,27 +24,28 @@ spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.101
|
||||
targetRevision: master
|
||||
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/environments/basic-test/image-version.yaml
|
||||
- $values/environments/basic-test/agent-common-values.yaml
|
||||
- $values/environments/basic-test/single-node-values.yaml
|
||||
values: |
|
||||
site: "{{ .id }}"
|
||||
description: "{{ .description }}"
|
||||
phaseType: "{{ .phaseType }}"
|
||||
{{- if hasKey . "nodeLabel" }}
|
||||
nodeSelector:
|
||||
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
||||
{{- end }}
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
targetRevision: develop/basic-test
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -1,21 +1,22 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-network-agent
|
||||
name: mixingx-audit
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: master
|
||||
path: release-charts/mixingx-network-agent
|
||||
path: release-charts/mixingx-audit
|
||||
helm:
|
||||
releaseName: mixingx-network-agent
|
||||
releaseName: mixingx-audit
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/mxlexus2/network-agent-values.yaml
|
||||
- $values/environments/basic-test/image-version.yaml
|
||||
- $values/environments/basic-test/audit-values.yaml
|
||||
- $values/environments/basic-test/single-node-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
targetRevision: develop/basic-test
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
@@ -1,8 +1,7 @@
|
||||
# mxtest — Edge 单元 ApplicationSet(按 environments/mxtest/edges.yaml 清单生成)
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: ApplicationSet
|
||||
metadata:
|
||||
name: mixingx-mxtest-edges
|
||||
name: mixingx-edges
|
||||
namespace: argocd
|
||||
spec:
|
||||
goTemplate: true
|
||||
@@ -13,9 +12,9 @@ spec:
|
||||
generators:
|
||||
- git:
|
||||
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
revision: release
|
||||
revision: develop/basic-test
|
||||
files:
|
||||
- path: environments/mxtest/edges.yaml
|
||||
- path: environments/basic-test/edges.yaml
|
||||
- list:
|
||||
elementsYaml: '{{ .edges | toJson }}'
|
||||
template:
|
||||
@@ -25,14 +24,14 @@ spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.3
|
||||
targetRevision: master
|
||||
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/environments/basic-test/image-version.yaml
|
||||
- $values/environments/basic-test/edge-common-values.yaml
|
||||
- $values/environments/basic-test/single-node-values.yaml
|
||||
values: |
|
||||
site: "{{ .id }}"
|
||||
idWorkerId: {{ .idWorkerId }}
|
||||
@@ -42,14 +41,11 @@ spec:
|
||||
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
||||
{{- end }}
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
targetRevision: develop/basic-test
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,19 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: gateway-ip-ingress
|
||||
namespace: mixingx
|
||||
annotations:
|
||||
traefik.ingress.kubernetes.io/router.entrypoints: web
|
||||
spec:
|
||||
ingressClassName: traefik
|
||||
rules:
|
||||
- http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: gateway-service
|
||||
port:
|
||||
number: 8080
|
||||
@@ -0,0 +1,26 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-gateway
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: master
|
||||
path: release-charts/mixingx-gateway
|
||||
helm:
|
||||
releaseName: mixingx-gateway
|
||||
valueFiles:
|
||||
- $values/environments/basic-test/image-version.yaml
|
||||
- $values/environments/basic-test/gateway-values.yaml
|
||||
- $values/environments/basic-test/single-node-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: develop/basic-test
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -1,21 +1,22 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-network-agent
|
||||
name: mixingx-infra
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: master
|
||||
path: release-charts/mixingx-network-agent
|
||||
path: release-charts/mixingx-infra
|
||||
helm:
|
||||
releaseName: mixingx-network-agent
|
||||
releaseName: mixingx-infra
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/mxlexus/network-agent-values.yaml
|
||||
- $values/environments/basic-test/image-version.yaml
|
||||
- $values/environments/basic-test/infra-values.yaml
|
||||
- $values/environments/basic-test/single-node-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
targetRevision: develop/basic-test
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
@@ -0,0 +1,52 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: longhorn
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://charts.longhorn.io
|
||||
chart: longhorn
|
||||
targetRevision: 1.12.0
|
||||
helm:
|
||||
releaseName: longhorn
|
||||
values: |
|
||||
global:
|
||||
imageRegistry: 192.168.1.119:8888/docker-proxy
|
||||
service:
|
||||
ui:
|
||||
type: NodePort
|
||||
nodePort: 30880
|
||||
preUpgradeChecker:
|
||||
jobEnabled: false
|
||||
upgradeVersionCheck: false
|
||||
csi:
|
||||
kubeletRootDir: /var/lib/kubelet
|
||||
attacherReplicaCount: 1
|
||||
provisionerReplicaCount: 1
|
||||
resizerReplicaCount: 1
|
||||
snapshotterReplicaCount: 1
|
||||
persistence:
|
||||
createStorageClass: true
|
||||
defaultClass: false
|
||||
defaultClassReplicaCount: 1
|
||||
defaultDataLocality: disabled
|
||||
dataEngine: v1
|
||||
reclaimPolicy: Delete
|
||||
volumeBindingMode: Immediate
|
||||
defaultSettings:
|
||||
defaultDataPath: /var/lib/longhorn/
|
||||
defaultReplicaCount: '{"v1":"1","v2":"1"}'
|
||||
v1DataEngine: true
|
||||
v2DataEngine: false
|
||||
storageReservedPercentageForDefaultDisk: 10
|
||||
upgradeChecker: false
|
||||
longhornUI:
|
||||
replicas: 1
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: longhorn-system
|
||||
syncPolicy:
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
+3
-3
@@ -12,10 +12,10 @@ spec:
|
||||
helm:
|
||||
releaseName: mixingx-network-agent
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/mxfoxconn850t1/network-agent-values.yaml
|
||||
- $values/environments/basic-test/image-version.yaml
|
||||
- $values/environments/basic-test/network-agent-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
targetRevision: develop/basic-test
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
@@ -1,21 +1,22 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-network-agent
|
||||
name: mixingx-sso
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: master
|
||||
path: release-charts/mixingx-network-agent
|
||||
path: release-charts/mixingx-sso
|
||||
helm:
|
||||
releaseName: mixingx-network-agent
|
||||
releaseName: mixingx-sso
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/tuopu-01/network-agent-values.yaml
|
||||
- $values/environments/basic-test/image-version.yaml
|
||||
- $values/environments/basic-test/sso-values.yaml
|
||||
- $values/environments/basic-test/single-node-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
targetRevision: develop/basic-test
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
@@ -1,28 +1,26 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-network-agent
|
||||
name: mixingx-ultra
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: master
|
||||
path: release-charts/mixingx-network-agent
|
||||
path: release-charts/mixingx-ultra
|
||||
helm:
|
||||
releaseName: mixingx-network-agent
|
||||
releaseName: mixingx-ultra
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/daye/network-agent-values.yaml
|
||||
- $values/environments/basic-test/image-version.yaml
|
||||
- $values/environments/basic-test/ultra-values.yaml
|
||||
- $values/environments/basic-test/single-node-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
targetRevision: develop/basic-test
|
||||
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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.101
|
||||
path: release-charts/mixingx-audit
|
||||
helm:
|
||||
releaseName: mixingx-audit
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/daye/image-version.yaml
|
||||
- $values/environments/daye/audit-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
revision: release
|
||||
files:
|
||||
- path: environments/daye/edges.yaml
|
||||
- list:
|
||||
elementsYaml: '{{ .edges | toJson }}'
|
||||
template:
|
||||
metadata:
|
||||
name: 'mixingx-edge-{{ .id }}'
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.101
|
||||
path: release-charts/mixingx-edge-unit
|
||||
helm:
|
||||
releaseName: 'mixingx-edge-{{ .id }}'
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/daye/image-version.yaml
|
||||
- $values/environments/daye/edge-common-values.yaml
|
||||
values: |
|
||||
site: "{{ .id }}"
|
||||
idWorkerId: {{ .idWorkerId }}
|
||||
description: "{{ .description }}"
|
||||
{{- if hasKey . "nodeLabel" }}
|
||||
nodeSelector:
|
||||
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
||||
{{- end }}
|
||||
{{- /* ADS Router 逐实例身份透传(chart 默认 enabled=true):实例缺 adsRouter
|
||||
身份时不在此兜底,由 chart 渲染守卫明确拒绝。 */ -}}
|
||||
{{- if hasKey . "adsRouter" }}
|
||||
adsRouter:
|
||||
localNetId: "{{ .adsRouter.localNetId }}"
|
||||
publicAddress: "{{ .adsRouter.publicAddress }}"
|
||||
{{- if hasKey .adsRouter "clientEndPoint" }}
|
||||
clientEndPoint: "{{ .adsRouter.clientEndPoint }}"
|
||||
{{- end }}
|
||||
{{- if hasKey .adsRouter "externalPort" }}
|
||||
externalPort: {{ .adsRouter.externalPort }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.101
|
||||
path: release-charts/mixingx-gateway
|
||||
helm:
|
||||
releaseName: mixingx-gateway
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/daye/image-version.yaml
|
||||
- $values/environments/daye/gateway-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.101
|
||||
path: release-charts/mixingx-infra
|
||||
helm:
|
||||
releaseName: mixingx-infra
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/daye/image-version.yaml
|
||||
- $values/environments/daye/infra-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -1,29 +0,0 @@
|
||||
# daye — MQTTX 调试客户端
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-mqttx
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.101
|
||||
path: release-charts/mixingx-mqttx
|
||||
helm:
|
||||
releaseName: mixingx-mqttx
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/daye/mqttx-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -1,20 +0,0 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: daye-root
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://gitee.com/mixing-tech/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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.101
|
||||
path: release-charts/mixingx-sso
|
||||
helm:
|
||||
releaseName: mixingx-sso
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/daye/image-version.yaml
|
||||
- $values/environments/daye/sso-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.101
|
||||
path: release-charts/mixingx-ultra
|
||||
helm:
|
||||
releaseName: mixingx-ultra
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/daye/image-version.yaml
|
||||
- $values/environments/daye/ultra-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,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`。
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
path: environments/mxfoxconn850t1/extras/agent-postgres-lb
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
revision: release
|
||||
files:
|
||||
- path: environments/mxfoxconn850t1/agents.yaml
|
||||
- list:
|
||||
elementsYaml: '{{ .agents | toJson }}'
|
||||
template:
|
||||
metadata:
|
||||
name: 'mixingx-agent-{{ .id }}'
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.90
|
||||
path: release-charts/mixingx-agent-unit
|
||||
helm:
|
||||
releaseName: 'mixingx-agent-{{ .id }}'
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/mxfoxconn850t1/image-version.yaml
|
||||
- $values/environments/mxfoxconn850t1/agent-common-values.yaml
|
||||
values: |
|
||||
site: "{{ .id }}"
|
||||
description: "{{ .description }}"
|
||||
phaseType: "{{ .phaseType }}"
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.90
|
||||
path: release-charts/mixingx-audit
|
||||
helm:
|
||||
releaseName: mixingx-audit
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/mxfoxconn850t1/image-version.yaml
|
||||
- $values/environments/mxfoxconn850t1/audit-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
revision: release
|
||||
files:
|
||||
- path: environments/mxfoxconn850t1/edges.yaml
|
||||
- list:
|
||||
elementsYaml: '{{ .edges | toJson }}'
|
||||
template:
|
||||
metadata:
|
||||
name: 'mixingx-edge-{{ .id }}'
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.90
|
||||
path: release-charts/mixingx-edge-unit
|
||||
helm:
|
||||
releaseName: 'mixingx-edge-{{ .id }}'
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/mxfoxconn850t1/image-version.yaml
|
||||
- $values/environments/mxfoxconn850t1/edge-common-values.yaml
|
||||
values: |
|
||||
site: "{{ .id }}"
|
||||
idWorkerId: {{ .idWorkerId }}
|
||||
description: "{{ .description }}"
|
||||
{{- if hasKey . "nodeLabel" }}
|
||||
nodeSelector:
|
||||
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
||||
{{- end }}
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.90
|
||||
path: release-charts/mixingx-gateway
|
||||
helm:
|
||||
releaseName: mixingx-gateway
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/mxfoxconn850t1/image-version.yaml
|
||||
- $values/environments/mxfoxconn850t1/gateway-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.90
|
||||
path: release-charts/mixingx-infra
|
||||
helm:
|
||||
releaseName: mixingx-infra
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/mxfoxconn850t1/image-version.yaml
|
||||
- $values/environments/mxfoxconn850t1/infra-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -1,29 +0,0 @@
|
||||
# mxfoxconn850t1 — MQTTX 调试客户端
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-mqttx
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.90
|
||||
path: release-charts/mixingx-mqttx
|
||||
helm:
|
||||
releaseName: mixingx-mqttx
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/mxfoxconn850t1/mqttx-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -1,20 +0,0 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mxfoxconn850t1-root
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
path: applications/mxfoxconn850t1
|
||||
directory:
|
||||
exclude: "root.yaml"
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: argocd
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: false
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.90
|
||||
path: release-charts/mixingx-sso
|
||||
helm:
|
||||
releaseName: mixingx-sso
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/mxfoxconn850t1/image-version.yaml
|
||||
- $values/environments/mxfoxconn850t1/sso-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.90
|
||||
path: release-charts/mixingx-ultra
|
||||
helm:
|
||||
releaseName: mixingx-ultra
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/mxfoxconn850t1/image-version.yaml
|
||||
- $values/environments/mxfoxconn850t1/ultra-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
revision: release
|
||||
files:
|
||||
- path: environments/mxlexus/agents.yaml
|
||||
- list:
|
||||
elementsYaml: '{{ .agents | toJson }}'
|
||||
template:
|
||||
metadata:
|
||||
name: 'mixingx-agent-{{ .id }}'
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.103
|
||||
path: release-charts/mixingx-agent-unit
|
||||
helm:
|
||||
releaseName: 'mixingx-agent-{{ .id }}'
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/mxlexus/image-version.yaml
|
||||
- $values/environments/mxlexus/agent-common-values.yaml
|
||||
values: |
|
||||
site: "{{ .id }}"
|
||||
description: "{{ .description }}"
|
||||
phaseType: "{{ .phaseType }}"
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.103
|
||||
path: release-charts/mixingx-audit
|
||||
helm:
|
||||
releaseName: mixingx-audit
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/mxlexus/image-version.yaml
|
||||
- $values/environments/mxlexus/audit-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
revision: release
|
||||
files:
|
||||
- path: environments/mxlexus/edges.yaml
|
||||
- list:
|
||||
elementsYaml: '{{ .edges | toJson }}'
|
||||
template:
|
||||
metadata:
|
||||
name: 'mixingx-edge-{{ .id }}'
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.103
|
||||
path: release-charts/mixingx-edge-unit
|
||||
helm:
|
||||
releaseName: 'mixingx-edge-{{ .id }}'
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/mxlexus/image-version.yaml
|
||||
- $values/environments/mxlexus/edge-common-values.yaml
|
||||
values: |
|
||||
site: "{{ .id }}"
|
||||
idWorkerId: {{ .idWorkerId }}
|
||||
description: "{{ .description }}"
|
||||
{{- if hasKey . "nodeLabel" }}
|
||||
nodeSelector:
|
||||
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
||||
{{- end }}
|
||||
{{- /* ADS Router 逐实例身份透传(chart 默认 enabled=true):实例缺 adsRouter
|
||||
身份时不在此兜底,由 chart 渲染守卫明确拒绝。 */ -}}
|
||||
{{- if hasKey . "adsRouter" }}
|
||||
adsRouter:
|
||||
localNetId: "{{ .adsRouter.localNetId }}"
|
||||
publicAddress: "{{ .adsRouter.publicAddress }}"
|
||||
{{- if hasKey .adsRouter "clientEndPoint" }}
|
||||
clientEndPoint: "{{ .adsRouter.clientEndPoint }}"
|
||||
{{- end }}
|
||||
{{- if hasKey .adsRouter "externalPort" }}
|
||||
externalPort: {{ .adsRouter.externalPort }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.103
|
||||
path: release-charts/mixingx-gateway
|
||||
helm:
|
||||
releaseName: mixingx-gateway
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/mxlexus/image-version.yaml
|
||||
- $values/environments/mxlexus/gateway-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.103
|
||||
path: release-charts/mixingx-infra
|
||||
helm:
|
||||
releaseName: mixingx-infra
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/mxlexus/image-version.yaml
|
||||
- $values/environments/mxlexus/infra-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.103
|
||||
path: release-charts/mixingx-mqttx
|
||||
helm:
|
||||
releaseName: mixingx-mqttx
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/mxlexus/mqttx-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.103
|
||||
path: release-charts/mixingx-sso
|
||||
helm:
|
||||
releaseName: mixingx-sso
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/mxlexus/image-version.yaml
|
||||
- $values/environments/mxlexus/sso-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.103
|
||||
path: release-charts/mixingx-ultra
|
||||
helm:
|
||||
releaseName: mixingx-ultra
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/mxlexus/image-version.yaml
|
||||
- $values/environments/mxlexus/ultra-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
revision: release
|
||||
files:
|
||||
- path: environments/mxlexus2/agents.yaml
|
||||
- list:
|
||||
elementsYaml: '{{ .agents | toJson }}'
|
||||
template:
|
||||
metadata:
|
||||
name: 'mixingx-agent-{{ .id }}'
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.73
|
||||
path: release-charts/mixingx-agent-unit
|
||||
helm:
|
||||
releaseName: 'mixingx-agent-{{ .id }}'
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/mxlexus2/image-version.yaml
|
||||
- $values/environments/mxlexus2/agent-common-values.yaml
|
||||
values: |
|
||||
site: "{{ .id }}"
|
||||
description: "{{ .description }}"
|
||||
phaseType: "{{ .phaseType }}"
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.15
|
||||
path: release-charts/mixingx-audit
|
||||
helm:
|
||||
releaseName: mixingx-audit
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/mxlexus2/image-version.yaml
|
||||
- $values/environments/mxlexus2/audit-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
revision: release
|
||||
files:
|
||||
- path: environments/mxlexus2/edges.yaml
|
||||
- list:
|
||||
elementsYaml: '{{ .edges | toJson }}'
|
||||
template:
|
||||
metadata:
|
||||
name: 'mixingx-edge-{{ .id }}'
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.66
|
||||
path: release-charts/mixingx-edge-unit
|
||||
helm:
|
||||
releaseName: 'mixingx-edge-{{ .id }}'
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/mxlexus2/image-version.yaml
|
||||
- $values/environments/mxlexus2/edge-common-values.yaml
|
||||
values: |
|
||||
site: "{{ .id }}"
|
||||
idWorkerId: {{ .idWorkerId }}
|
||||
description: "{{ .description }}"
|
||||
{{- if hasKey . "nodeLabel" }}
|
||||
nodeSelector:
|
||||
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
||||
{{- end }}
|
||||
{{- /* ADS Router 逐实例身份透传(chart 默认 enabled=true):实例缺 adsRouter
|
||||
身份时不在此兜底,由 chart 渲染守卫明确拒绝。 */ -}}
|
||||
{{- if hasKey . "adsRouter" }}
|
||||
adsRouter:
|
||||
localNetId: "{{ .adsRouter.localNetId }}"
|
||||
publicAddress: "{{ .adsRouter.publicAddress }}"
|
||||
{{- if hasKey .adsRouter "clientEndPoint" }}
|
||||
clientEndPoint: "{{ .adsRouter.clientEndPoint }}"
|
||||
{{- end }}
|
||||
{{- if hasKey .adsRouter "externalPort" }}
|
||||
externalPort: {{ .adsRouter.externalPort }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.18
|
||||
path: release-charts/mixingx-gateway
|
||||
helm:
|
||||
releaseName: mixingx-gateway
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/mxlexus2/image-version.yaml
|
||||
- $values/environments/mxlexus2/gateway-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.73
|
||||
path: release-charts/mixingx-infra
|
||||
helm:
|
||||
releaseName: mixingx-infra
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/mxlexus2/image-version.yaml
|
||||
- $values/environments/mxlexus2/infra-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.73
|
||||
path: release-charts/mixingx-mqttx
|
||||
helm:
|
||||
releaseName: mixingx-mqttx
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/mxlexus2/mqttx-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -1,20 +0,0 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mxlexus2-root
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
path: applications/mxlexus2
|
||||
directory:
|
||||
exclude: "root.yaml"
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: argocd
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: false
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.51
|
||||
path: release-charts/mixingx-sso
|
||||
helm:
|
||||
releaseName: mixingx-sso
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/mxlexus2/image-version.yaml
|
||||
- $values/environments/mxlexus2/sso-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.43
|
||||
path: release-charts/mixingx-ultra
|
||||
helm:
|
||||
releaseName: mixingx-ultra
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/mxlexus2/image-version.yaml
|
||||
- $values/environments/mxlexus2/ultra-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
revision: release
|
||||
files:
|
||||
- path: environments/mxtest/agents.yaml
|
||||
- list:
|
||||
elementsYaml: '{{ .agents | toJson }}'
|
||||
template:
|
||||
metadata:
|
||||
name: 'mixingx-agent-{{ .id }}'
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.32
|
||||
path: release-charts/mixingx-agent-unit
|
||||
helm:
|
||||
releaseName: 'mixingx-agent-{{ .id }}'
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/mxtest/image-version.yaml
|
||||
- $values/environments/mxtest/agent-common-values.yaml
|
||||
values: |
|
||||
site: "{{ .id }}"
|
||||
description: "{{ .description }}"
|
||||
phaseType: "{{ .phaseType }}"
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.7
|
||||
path: release-charts/mixingx-audit
|
||||
helm:
|
||||
releaseName: mixingx-audit
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/mxtest/image-version.yaml
|
||||
- $values/environments/mxtest/audit-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.13
|
||||
path: release-charts/mixingx-gateway
|
||||
helm:
|
||||
releaseName: mixingx-gateway
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/mxtest/image-version.yaml
|
||||
- $values/environments/mxtest/gateway-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.49
|
||||
path: release-charts/mixingx-infra
|
||||
helm:
|
||||
releaseName: mixingx-infra
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/mxtest/image-version.yaml
|
||||
- $values/environments/mxtest/infra-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.49
|
||||
path: release-charts/mixingx-mqttx
|
||||
helm:
|
||||
releaseName: mixingx-mqttx
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/mxtest/mqttx-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -1,25 +0,0 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-network-agent
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: master
|
||||
path: release-charts/mixingx-network-agent
|
||||
helm:
|
||||
releaseName: mixingx-network-agent
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/mxtest/network-agent-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.16
|
||||
path: release-charts/mixingx-sso
|
||||
helm:
|
||||
releaseName: mixingx-sso
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/mxtest/image-version.yaml
|
||||
- $values/environments/mxtest/sso-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.6
|
||||
path: release-charts/mixingx-ultra
|
||||
helm:
|
||||
releaseName: mixingx-ultra
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/mxtest/image-version.yaml
|
||||
- $values/environments/mxtest/ultra-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
path: environments/sanhua/extras/agent-postgres-lb
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
revision: release
|
||||
files:
|
||||
- path: environments/sanhua/agents.yaml
|
||||
- list:
|
||||
elementsYaml: '{{ .agents | toJson }}'
|
||||
template:
|
||||
metadata:
|
||||
name: 'mixingx-agent-{{ .id }}'
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.100
|
||||
path: release-charts/mixingx-agent-unit
|
||||
helm:
|
||||
releaseName: 'mixingx-agent-{{ .id }}'
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/sanhua/image-version.yaml
|
||||
- $values/environments/sanhua/agent-common-values.yaml
|
||||
values: |
|
||||
site: "{{ .id }}"
|
||||
description: "{{ .description }}"
|
||||
phaseType: "{{ .phaseType }}"
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.100
|
||||
path: release-charts/mixingx-audit
|
||||
helm:
|
||||
releaseName: mixingx-audit
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/sanhua/image-version.yaml
|
||||
- $values/environments/sanhua/audit-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.49
|
||||
path: release-charts/mixingx-codeserver
|
||||
helm:
|
||||
releaseName: mixingx-codeserver
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/sanhua/codeserver-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
revision: release
|
||||
files:
|
||||
- path: environments/sanhua/edges.yaml
|
||||
- list:
|
||||
elementsYaml: '{{ .edges | toJson }}'
|
||||
template:
|
||||
metadata:
|
||||
name: 'mixingx-edge-{{ .id }}'
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.100
|
||||
path: release-charts/mixingx-edge-unit
|
||||
helm:
|
||||
releaseName: 'mixingx-edge-{{ .id }}'
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/sanhua/image-version.yaml
|
||||
- $values/environments/sanhua/edge-common-values.yaml
|
||||
values: |
|
||||
site: "{{ .id }}"
|
||||
idWorkerId: {{ .idWorkerId }}
|
||||
description: "{{ .description }}"
|
||||
{{- if hasKey . "nodeLabel" }}
|
||||
nodeSelector:
|
||||
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
||||
{{- end }}
|
||||
{{- /* ADS Router 逐实例身份透传(chart 默认 enabled=true):实例缺 adsRouter
|
||||
身份时不在此兜底,由 chart 渲染守卫明确拒绝。 */ -}}
|
||||
{{- if hasKey . "adsRouter" }}
|
||||
adsRouter:
|
||||
localNetId: "{{ .adsRouter.localNetId }}"
|
||||
publicAddress: "{{ .adsRouter.publicAddress }}"
|
||||
{{- if hasKey .adsRouter "clientEndPoint" }}
|
||||
clientEndPoint: "{{ .adsRouter.clientEndPoint }}"
|
||||
{{- end }}
|
||||
{{- if hasKey .adsRouter "externalPort" }}
|
||||
externalPort: {{ .adsRouter.externalPort }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.100
|
||||
path: release-charts/mixingx-gateway
|
||||
helm:
|
||||
releaseName: mixingx-gateway
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/sanhua/image-version.yaml
|
||||
- $values/environments/sanhua/gateway-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.100
|
||||
path: release-charts/mixingx-infra
|
||||
helm:
|
||||
releaseName: mixingx-infra
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/sanhua/image-version.yaml
|
||||
- $values/environments/sanhua/infra-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -1,29 +0,0 @@
|
||||
# sanhua — MQTTX 调试客户端
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-mqttx
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.100
|
||||
path: release-charts/mixingx-mqttx
|
||||
helm:
|
||||
releaseName: mixingx-mqttx
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/sanhua/mqttx-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -1,25 +0,0 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-network-agent
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: master
|
||||
path: release-charts/mixingx-network-agent
|
||||
helm:
|
||||
releaseName: mixingx-network-agent
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/sanhua/network-agent-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.100
|
||||
path: release-charts/mixingx-sso
|
||||
helm:
|
||||
releaseName: mixingx-sso
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/sanhua/image-version.yaml
|
||||
- $values/environments/sanhua/sso-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.100
|
||||
path: release-charts/mixingx-ultra
|
||||
helm:
|
||||
releaseName: mixingx-ultra
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/sanhua/image-version.yaml
|
||||
- $values/environments/sanhua/ultra-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
revision: release
|
||||
files:
|
||||
- path: environments/sciveda/agents.yaml
|
||||
- list:
|
||||
elementsYaml: '{{ .agents | toJson }}'
|
||||
template:
|
||||
metadata:
|
||||
name: 'mixingx-agent-{{ .id }}'
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.99
|
||||
path: release-charts/mixingx-agent-unit
|
||||
helm:
|
||||
releaseName: 'mixingx-agent-{{ .id }}'
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/sciveda/image-version.yaml
|
||||
- $values/environments/sciveda/agent-common-values.yaml
|
||||
values: |
|
||||
site: "{{ .id }}"
|
||||
description: "{{ .description }}"
|
||||
phaseType: "{{ .phaseType }}"
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.99
|
||||
path: release-charts/mixingx-audit
|
||||
helm:
|
||||
releaseName: mixingx-audit
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/sciveda/image-version.yaml
|
||||
- $values/environments/sciveda/audit-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
revision: release
|
||||
files:
|
||||
- path: environments/sciveda/edges.yaml
|
||||
- list:
|
||||
elementsYaml: '{{ .edges | toJson }}'
|
||||
template:
|
||||
metadata:
|
||||
name: 'mixingx-edge-{{ .id }}'
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.99
|
||||
path: release-charts/mixingx-edge-unit
|
||||
helm:
|
||||
releaseName: 'mixingx-edge-{{ .id }}'
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/sciveda/image-version.yaml
|
||||
- $values/environments/sciveda/edge-common-values.yaml
|
||||
values: |
|
||||
site: "{{ .id }}"
|
||||
idWorkerId: {{ .idWorkerId }}
|
||||
description: "{{ .description }}"
|
||||
{{- if hasKey . "nodeLabel" }}
|
||||
nodeSelector:
|
||||
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
||||
{{- end }}
|
||||
{{- /* ADS Router 逐实例身份透传(chart 默认 enabled=true):实例缺 adsRouter
|
||||
身份时不在此兜底,由 chart 渲染守卫明确拒绝。 */ -}}
|
||||
{{- if hasKey . "adsRouter" }}
|
||||
adsRouter:
|
||||
localNetId: "{{ .adsRouter.localNetId }}"
|
||||
publicAddress: "{{ .adsRouter.publicAddress }}"
|
||||
{{- if hasKey .adsRouter "clientEndPoint" }}
|
||||
clientEndPoint: "{{ .adsRouter.clientEndPoint }}"
|
||||
{{- end }}
|
||||
{{- if hasKey .adsRouter "externalPort" }}
|
||||
externalPort: {{ .adsRouter.externalPort }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.95
|
||||
path: release-charts/mixingx-gateway
|
||||
helm:
|
||||
releaseName: mixingx-gateway
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/sciveda/image-version.yaml
|
||||
- $values/environments/sciveda/gateway-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.99
|
||||
path: release-charts/mixingx-infra
|
||||
helm:
|
||||
releaseName: mixingx-infra
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/sciveda/image-version.yaml
|
||||
- $values/environments/sciveda/infra-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -1,29 +0,0 @@
|
||||
# sciveda — MQTTX 调试客户端
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-mqttx
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.99
|
||||
path: release-charts/mixingx-mqttx
|
||||
helm:
|
||||
releaseName: mixingx-mqttx
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/sciveda/mqttx-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -1,28 +0,0 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-network-agent
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: master
|
||||
path: release-charts/mixingx-network-agent
|
||||
helm:
|
||||
releaseName: mixingx-network-agent
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/sciveda/network-agent-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -1,20 +0,0 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: sciveda-root
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
path: applications/sciveda
|
||||
directory:
|
||||
exclude: "root.yaml"
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: argocd
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: false
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.99
|
||||
path: release-charts/mixingx-sso
|
||||
helm:
|
||||
releaseName: mixingx-sso
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/sciveda/image-version.yaml
|
||||
- $values/environments/sciveda/sso-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.99
|
||||
path: release-charts/mixingx-ultra
|
||||
helm:
|
||||
releaseName: mixingx-ultra
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/sciveda/image-version.yaml
|
||||
- $values/environments/sciveda/ultra-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
revision: release
|
||||
files:
|
||||
- path: environments/tayo/agents.yaml
|
||||
- list:
|
||||
elementsYaml: '{{ .agents | toJson }}'
|
||||
template:
|
||||
metadata:
|
||||
name: 'mixingx-agent-{{ .id }}'
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.102
|
||||
path: release-charts/mixingx-agent-unit
|
||||
helm:
|
||||
releaseName: 'mixingx-agent-{{ .id }}'
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/tayo/image-version.yaml
|
||||
- $values/environments/tayo/agent-common-values.yaml
|
||||
values: |
|
||||
site: "{{ .id }}"
|
||||
description: "{{ .description }}"
|
||||
phaseType: "{{ .phaseType }}"
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.102
|
||||
path: release-charts/mixingx-audit
|
||||
helm:
|
||||
releaseName: mixingx-audit
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/tayo/image-version.yaml
|
||||
- $values/environments/tayo/audit-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
revision: release
|
||||
files:
|
||||
- path: environments/tayo/edges.yaml
|
||||
- list:
|
||||
elementsYaml: '{{ .edges | toJson }}'
|
||||
template:
|
||||
metadata:
|
||||
name: 'mixingx-edge-{{ .id }}'
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.102
|
||||
path: release-charts/mixingx-edge-unit
|
||||
helm:
|
||||
releaseName: 'mixingx-edge-{{ .id }}'
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/tayo/image-version.yaml
|
||||
- $values/environments/tayo/edge-common-values.yaml
|
||||
values: |
|
||||
site: "{{ .id }}"
|
||||
idWorkerId: {{ .idWorkerId }}
|
||||
description: "{{ .description }}"
|
||||
{{- if hasKey . "nodeLabel" }}
|
||||
nodeSelector:
|
||||
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
||||
{{- end }}
|
||||
{{- /* ADS Router 逐实例身份透传(chart 默认 enabled=true):实例缺 adsRouter
|
||||
身份时不在此兜底,由 chart 渲染守卫明确拒绝。 */ -}}
|
||||
{{- if hasKey . "adsRouter" }}
|
||||
adsRouter:
|
||||
localNetId: "{{ .adsRouter.localNetId }}"
|
||||
publicAddress: "{{ .adsRouter.publicAddress }}"
|
||||
{{- if hasKey .adsRouter "clientEndPoint" }}
|
||||
clientEndPoint: "{{ .adsRouter.clientEndPoint }}"
|
||||
{{- end }}
|
||||
{{- if hasKey .adsRouter "externalPort" }}
|
||||
externalPort: {{ .adsRouter.externalPort }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.102
|
||||
path: release-charts/mixingx-gateway
|
||||
helm:
|
||||
releaseName: mixingx-gateway
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/tayo/image-version.yaml
|
||||
- $values/environments/tayo/gateway-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.102
|
||||
path: release-charts/mixingx-infra
|
||||
helm:
|
||||
releaseName: mixingx-infra
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/tayo/image-version.yaml
|
||||
- $values/environments/tayo/infra-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -1,29 +0,0 @@
|
||||
# tayo — MQTTX 调试客户端
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-mqttx
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.102
|
||||
path: release-charts/mixingx-mqttx
|
||||
helm:
|
||||
releaseName: mixingx-mqttx
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/tayo/mqttx-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -1,28 +0,0 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-network-agent
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: master
|
||||
path: release-charts/mixingx-network-agent
|
||||
helm:
|
||||
releaseName: mixingx-network-agent
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/tayo/network-agent-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -1,20 +0,0 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: tayo-root
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
path: applications/tayo
|
||||
directory:
|
||||
exclude: "root.yaml"
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: argocd
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: false
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.102
|
||||
path: release-charts/mixingx-sso
|
||||
helm:
|
||||
releaseName: mixingx-sso
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/tayo/image-version.yaml
|
||||
- $values/environments/tayo/sso-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -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://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.102
|
||||
path: release-charts/mixingx-ultra
|
||||
helm:
|
||||
releaseName: mixingx-ultra
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/tayo/image-version.yaml
|
||||
- $values/environments/tayo/ultra-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -1,21 +0,0 @@
|
||||
# thai-tuopu-2000-4 客户特例:独立小 Application,只管理 environments/thai-tuopu-2000-4/extras/agent-postgres-lb/ 下的
|
||||
# agent-thai-tuopu-2000-4-postgres-lb LoadBalancer Service。不挂进 agents ApplicationSet,
|
||||
# 避免未来 thai-tuopu-2000-4 增加第二个 agent 时被重复渲染。
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: thai-tuopu-2000-4-agent-postgres-lb
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
path: environments/thai-tuopu-2000-4/extras/agent-postgres-lb
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
@@ -1,51 +0,0 @@
|
||||
# thai-tuopu-2000-4 — Agent 单元 ApplicationSet(按 environments/thai-tuopu-2000-4/agents.yaml 清单生成)
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: ApplicationSet
|
||||
metadata:
|
||||
name: mixingx-thai-tuopu-2000-4-agents
|
||||
namespace: argocd
|
||||
spec:
|
||||
goTemplate: true
|
||||
goTemplateOptions:
|
||||
- missingkey=error
|
||||
generators:
|
||||
- matrix:
|
||||
generators:
|
||||
- git:
|
||||
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
revision: release
|
||||
files:
|
||||
- path: environments/thai-tuopu-2000-4/agents.yaml
|
||||
- list:
|
||||
elementsYaml: '{{ .agents | toJson }}'
|
||||
template:
|
||||
metadata:
|
||||
name: 'mixingx-agent-{{ .id }}'
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.76
|
||||
path: release-charts/mixingx-agent-unit
|
||||
helm:
|
||||
releaseName: 'mixingx-agent-{{ .id }}'
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/thai-tuopu-2000-4/image-version.yaml
|
||||
- $values/environments/thai-tuopu-2000-4/agent-common-values.yaml
|
||||
values: |
|
||||
site: "{{ .id }}"
|
||||
description: "{{ .description }}"
|
||||
phaseType: "{{ .phaseType }}"
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -1,32 +0,0 @@
|
||||
# thai-tuopu-2000-4 — mixingx-audit(客户环境 Application,ADR-0068)
|
||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+thai-tuopu-2000-4 / deploy 钉 release 分支 /
|
||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-audit
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.15
|
||||
path: release-charts/mixingx-audit
|
||||
helm:
|
||||
releaseName: mixingx-audit
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/thai-tuopu-2000-4/image-version.yaml
|
||||
- $values/environments/thai-tuopu-2000-4/audit-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -1,55 +0,0 @@
|
||||
# thai-tuopu-2000-4 — Edge 单元 ApplicationSet(按 environments/thai-tuopu-2000-4/edges.yaml 清单生成)
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: ApplicationSet
|
||||
metadata:
|
||||
name: mixingx-thai-tuopu-2000-4-edges
|
||||
namespace: argocd
|
||||
spec:
|
||||
goTemplate: true
|
||||
goTemplateOptions:
|
||||
- missingkey=error
|
||||
generators:
|
||||
- matrix:
|
||||
generators:
|
||||
- git:
|
||||
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
revision: release
|
||||
files:
|
||||
- path: environments/thai-tuopu-2000-4/edges.yaml
|
||||
- list:
|
||||
elementsYaml: '{{ .edges | toJson }}'
|
||||
template:
|
||||
metadata:
|
||||
name: 'mixingx-edge-{{ .id }}'
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.42
|
||||
path: release-charts/mixingx-edge-unit
|
||||
helm:
|
||||
releaseName: 'mixingx-edge-{{ .id }}'
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/thai-tuopu-2000-4/image-version.yaml
|
||||
- $values/environments/thai-tuopu-2000-4/edge-common-values.yaml
|
||||
values: |
|
||||
site: "{{ .id }}"
|
||||
idWorkerId: {{ .idWorkerId }}
|
||||
description: "{{ .description }}"
|
||||
{{- if hasKey . "nodeLabel" }}
|
||||
nodeSelector:
|
||||
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
||||
{{- end }}
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -1,32 +0,0 @@
|
||||
# thai-tuopu-2000-4 — mixingx-gateway(客户环境 Application,ADR-0068)
|
||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+thai-tuopu-2000-4 / deploy 钉 release 分支 /
|
||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-gateway
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.18
|
||||
path: release-charts/mixingx-gateway
|
||||
helm:
|
||||
releaseName: mixingx-gateway
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/thai-tuopu-2000-4/image-version.yaml
|
||||
- $values/environments/thai-tuopu-2000-4/gateway-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -1,32 +0,0 @@
|
||||
# thai-tuopu-2000-4 — mixingx-infra(客户环境 Application,ADR-0068)
|
||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+thai-tuopu-2000-4 / deploy 钉 release 分支 /
|
||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-infra
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.76
|
||||
path: release-charts/mixingx-infra
|
||||
helm:
|
||||
releaseName: mixingx-infra
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/thai-tuopu-2000-4/image-version.yaml
|
||||
- $values/environments/thai-tuopu-2000-4/infra-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -1,29 +0,0 @@
|
||||
# thai-tuopu-2000-4 — MQTTX 调试客户端
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-mqttx
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.76
|
||||
path: release-charts/mixingx-mqttx
|
||||
helm:
|
||||
releaseName: mixingx-mqttx
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/thai-tuopu-2000-4/mqttx-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -1,25 +0,0 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-network-agent
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: master
|
||||
path: release-charts/mixingx-network-agent
|
||||
helm:
|
||||
releaseName: mixingx-network-agent
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/thai-tuopu-2000-4/network-agent-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -1,20 +0,0 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: thai-tuopu-2000-4-root
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
path: applications/thai-tuopu-2000-4
|
||||
directory:
|
||||
exclude: "root.yaml"
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: argocd
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: false
|
||||
@@ -1,32 +0,0 @@
|
||||
# thai-tuopu-2000-4 — mixingx-sso(客户环境 Application,ADR-0068)
|
||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+thai-tuopu-2000-4 / deploy 钉 release 分支 /
|
||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-sso
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.47
|
||||
path: release-charts/mixingx-sso
|
||||
helm:
|
||||
releaseName: mixingx-sso
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/thai-tuopu-2000-4/image-version.yaml
|
||||
- $values/environments/thai-tuopu-2000-4/sso-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
Loaded 100 of 294 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user