Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e7a9d4a1a6 | ||
|
|
9499c2ac8d |
No files matched your search
@@ -0,0 +1,43 @@
|
|||||||
|
# MixingX Deploy
|
||||||
|
|
||||||
|
This repository is the GitOps environment state for MixingX deployments.
|
||||||
|
|
||||||
|
Responsibilities:
|
||||||
|
|
||||||
|
- `applications/`: Argo CD Application manifests.
|
||||||
|
- `environments/`: environment-specific Helm values.
|
||||||
|
- Helm chart templates live in `mixingx.hub.chart.git`.
|
||||||
|
- Application source code and CI live in `mixingx.hub.git`.
|
||||||
|
|
||||||
|
Demo environment:
|
||||||
|
|
||||||
|
1. Register both repositories in Argo CD:
|
||||||
|
- `https://gitee.com/mixing-tech/mixingx.deploy.git`
|
||||||
|
- `https://gitee.com/mixing-tech/mixingx.hub.chart.git`
|
||||||
|
2. Apply or create `bootstrap/mixingx-demo-root.yaml`.
|
||||||
|
3. Argo CD will create/sync the applications under `applications/`.
|
||||||
|
|
||||||
|
Agent and edge fleets:
|
||||||
|
|
||||||
|
- `applications/agents.yaml` is an Argo CD ApplicationSet.
|
||||||
|
- `applications/edges.yaml` is an Argo CD ApplicationSet.
|
||||||
|
- `environments/demo/agent-common-values.yaml` contains shared Helm values for all agents.
|
||||||
|
- `environments/demo/edge-common-values.yaml` contains shared Helm values for all edges.
|
||||||
|
- Add or remove agent or edge instances by editing `spec.generators[0].list.elements` in the matching ApplicationSet.
|
||||||
|
- Prefer `nodeLabel` over `nodeName`; label the target node so Kubernetes scheduler can still bind local-path PVCs.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
kubectl label node node1 mixingx.io/edge-node=shanghai
|
||||||
|
```
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
- id: shanghai
|
||||||
|
description: Shanghai Agent
|
||||||
|
nodeLabel: shanghai
|
||||||
|
|
||||||
|
- id: beijing
|
||||||
|
description: Beijing Edge
|
||||||
|
nodeLabel: beijing
|
||||||
|
```
|
||||||
+3
-3
@@ -12,10 +12,10 @@ spec:
|
|||||||
helm:
|
helm:
|
||||||
releaseName: mixingx-network-agent
|
releaseName: mixingx-network-agent
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/environments/_common/registry.yaml
|
- $values/environments/basic-test/image-version.yaml
|
||||||
- $values/environments/mxfoxconn850t1/network-agent-values.yaml
|
- $values/environments/basic-test/network-agent-values.yaml
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||||
targetRevision: release
|
targetRevision: develop/basic-test
|
||||||
ref: values
|
ref: values
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
# daye — Agent 单元 ApplicationSet(按 environments/daye/agents.yaml 清单生成)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: ApplicationSet
|
|
||||||
metadata:
|
|
||||||
name: mixingx-daye-agents
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
goTemplate: true
|
|
||||||
goTemplateOptions:
|
|
||||||
- missingkey=error
|
|
||||||
generators:
|
|
||||||
- matrix:
|
|
||||||
generators:
|
|
||||||
- git:
|
|
||||||
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
|
||||||
revision: release
|
|
||||||
files:
|
|
||||||
- path: environments/daye/agents.yaml
|
|
||||||
- list:
|
|
||||||
elementsYaml: '{{ .agents | toJson }}'
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
name: 'mixingx-agent-{{ .id }}'
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.92
|
|
||||||
path: release-charts/mixingx-agent-unit
|
|
||||||
helm:
|
|
||||||
releaseName: 'mixingx-agent-{{ .id }}'
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/daye/image-version.yaml
|
|
||||||
- $values/environments/daye/agent-common-values.yaml
|
|
||||||
values: |
|
|
||||||
site: "{{ .id }}"
|
|
||||||
description: "{{ .description }}"
|
|
||||||
phaseType: "{{ .phaseType }}"
|
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -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.91
|
|
||||||
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.86
|
|
||||||
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.85
|
|
||||||
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.92
|
|
||||||
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.92
|
|
||||||
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,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/daye/network-agent-values.yaml
|
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,20 +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.91
|
|
||||||
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.91
|
|
||||||
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
|
|
||||||
@@ -35,6 +35,11 @@ spec:
|
|||||||
site: "{{ .id }}"
|
site: "{{ .id }}"
|
||||||
description: "{{ .description }}"
|
description: "{{ .description }}"
|
||||||
phaseType: "{{ .phaseType }}"
|
phaseType: "{{ .phaseType }}"
|
||||||
|
sharedInfra:
|
||||||
|
postgres:
|
||||||
|
appUsername: "{{ .databaseUsername }}"
|
||||||
|
credentialsSecret:
|
||||||
|
name: "{{ .postgresCredentialsSecret }}"
|
||||||
{{- if hasKey . "nodeLabel" }}
|
{{- if hasKey . "nodeLabel" }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
||||||
|
|||||||
@@ -1,25 +0,0 @@
|
|||||||
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: master
|
|
||||||
path: release-charts/mixingx-mqttx
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-mqttx
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/demo/image-version.yaml
|
|
||||||
- $values/environments/demo/mqttx-values.yaml
|
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
|
||||||
targetRevision: master
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -35,6 +35,11 @@ spec:
|
|||||||
site: "{{ .id }}"
|
site: "{{ .id }}"
|
||||||
description: "{{ .description }}"
|
description: "{{ .description }}"
|
||||||
phaseType: "{{ .phaseType }}"
|
phaseType: "{{ .phaseType }}"
|
||||||
|
sharedInfra:
|
||||||
|
postgres:
|
||||||
|
appUsername: "{{ .databaseUsername }}"
|
||||||
|
credentialsSecret:
|
||||||
|
name: "{{ .postgresCredentialsSecret }}"
|
||||||
{{- if .nodeLabel }}
|
{{- if .nodeLabel }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
||||||
|
|||||||
@@ -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.73
|
|
||||||
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.15
|
|
||||||
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.66
|
|
||||||
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.18
|
|
||||||
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.73
|
|
||||||
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.73
|
|
||||||
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,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/mxlexus/network-agent-values.yaml
|
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,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.51
|
|
||||||
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.43
|
|
||||||
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,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/mxlexus2/network-agent-values.yaml
|
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -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,55 +0,0 @@
|
|||||||
# mxtest — Edge 单元 ApplicationSet(按 environments/mxtest/edges.yaml 清单生成)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: ApplicationSet
|
|
||||||
metadata:
|
|
||||||
name: mixingx-mxtest-edges
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
goTemplate: true
|
|
||||||
goTemplateOptions:
|
|
||||||
- missingkey=error
|
|
||||||
generators:
|
|
||||||
- matrix:
|
|
||||||
generators:
|
|
||||||
- git:
|
|
||||||
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
|
||||||
revision: release
|
|
||||||
files:
|
|
||||||
- path: environments/mxtest/edges.yaml
|
|
||||||
- list:
|
|
||||||
elementsYaml: '{{ .edges | toJson }}'
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
name: 'mixingx-edge-{{ .id }}'
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.3
|
|
||||||
path: release-charts/mixingx-edge-unit
|
|
||||||
helm:
|
|
||||||
releaseName: 'mixingx-edge-{{ .id }}'
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/mxtest/image-version.yaml
|
|
||||||
- $values/environments/mxtest/edge-common-values.yaml
|
|
||||||
values: |
|
|
||||||
site: "{{ .id }}"
|
|
||||||
idWorkerId: {{ .idWorkerId }}
|
|
||||||
description: "{{ .description }}"
|
|
||||||
{{- if hasKey . "nodeLabel" }}
|
|
||||||
nodeSelector:
|
|
||||||
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
|
||||||
{{- end }}
|
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -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.88
|
|
||||||
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.88
|
|
||||||
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.88
|
|
||||||
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.88
|
|
||||||
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.88
|
|
||||||
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.88
|
|
||||||
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.88
|
|
||||||
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.88
|
|
||||||
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.93
|
|
||||||
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.93
|
|
||||||
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.93
|
|
||||||
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.93
|
|
||||||
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.93
|
|
||||||
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.93
|
|
||||||
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.93
|
|
||||||
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.93
|
|
||||||
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,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
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# thai-tuopu-2000-4 — mixingx-ultra(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+thai-tuopu-2000-4 / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-ultra
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.43
|
|
||||||
path: release-charts/mixingx-ultra
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-ultra
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/thai-tuopu-2000-4/image-version.yaml
|
|
||||||
- $values/environments/thai-tuopu-2000-4/ultra-values.yaml
|
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
# tuopu-01 — Agent 单元 ApplicationSet(按 environments/tuopu-01/agents.yaml 清单生成)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: ApplicationSet
|
|
||||||
metadata:
|
|
||||||
name: mixingx-tuopu-01-agents
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
goTemplate: true
|
|
||||||
goTemplateOptions:
|
|
||||||
- missingkey=error
|
|
||||||
generators:
|
|
||||||
- matrix:
|
|
||||||
generators:
|
|
||||||
- git:
|
|
||||||
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
|
||||||
revision: release
|
|
||||||
files:
|
|
||||||
- path: environments/tuopu-01/agents.yaml
|
|
||||||
- list:
|
|
||||||
elementsYaml: '{{ .agents | toJson }}'
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
name: 'mixingx-agent-{{ .id }}'
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.87
|
|
||||||
path: release-charts/mixingx-agent-unit
|
|
||||||
helm:
|
|
||||||
releaseName: 'mixingx-agent-{{ .id }}'
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/tuopu-01/image-version.yaml
|
|
||||||
- $values/environments/tuopu-01/agent-common-values.yaml
|
|
||||||
values: |
|
|
||||||
site: "{{ .id }}"
|
|
||||||
description: "{{ .description }}"
|
|
||||||
phaseType: "{{ .phaseType }}"
|
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# tuopu-01 — mixingx-audit(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+tuopu-01 / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-audit
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.87
|
|
||||||
path: release-charts/mixingx-audit
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-audit
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/tuopu-01/image-version.yaml
|
|
||||||
- $values/environments/tuopu-01/audit-values.yaml
|
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,68 +0,0 @@
|
|||||||
# tuopu-01 — Edge 单元 ApplicationSet(按 environments/tuopu-01/edges.yaml 清单生成)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: ApplicationSet
|
|
||||||
metadata:
|
|
||||||
name: mixingx-tuopu-01-edges
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
goTemplate: true
|
|
||||||
goTemplateOptions:
|
|
||||||
- missingkey=error
|
|
||||||
generators:
|
|
||||||
- matrix:
|
|
||||||
generators:
|
|
||||||
- git:
|
|
||||||
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
|
||||||
revision: release
|
|
||||||
files:
|
|
||||||
- path: environments/tuopu-01/edges.yaml
|
|
||||||
- list:
|
|
||||||
elementsYaml: '{{ .edges | toJson }}'
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
name: 'mixingx-edge-{{ .id }}'
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.87
|
|
||||||
path: release-charts/mixingx-edge-unit
|
|
||||||
helm:
|
|
||||||
releaseName: 'mixingx-edge-{{ .id }}'
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/tuopu-01/image-version.yaml
|
|
||||||
- $values/environments/tuopu-01/edge-common-values.yaml
|
|
||||||
values: |
|
|
||||||
site: "{{ .id }}"
|
|
||||||
idWorkerId: {{ .idWorkerId }}
|
|
||||||
description: "{{ .description }}"
|
|
||||||
{{- if hasKey . "nodeLabel" }}
|
|
||||||
nodeSelector:
|
|
||||||
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
|
||||||
{{- end }}
|
|
||||||
{{- /* ADS Router 逐实例身份透传(chart 默认 enabled=true):实例缺 adsRouter
|
|
||||||
身份时不在此兜底,由 chart 渲染守卫明确拒绝。 */ -}}
|
|
||||||
{{- if hasKey . "adsRouter" }}
|
|
||||||
adsRouter:
|
|
||||||
localNetId: "{{ .adsRouter.localNetId }}"
|
|
||||||
publicAddress: "{{ .adsRouter.publicAddress }}"
|
|
||||||
{{- if hasKey .adsRouter "clientEndPoint" }}
|
|
||||||
clientEndPoint: "{{ .adsRouter.clientEndPoint }}"
|
|
||||||
{{- end }}
|
|
||||||
{{- if hasKey .adsRouter "externalPort" }}
|
|
||||||
externalPort: {{ .adsRouter.externalPort }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# tuopu-01 — mixingx-gateway(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+tuopu-01 / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-gateway
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.87
|
|
||||||
path: release-charts/mixingx-gateway
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-gateway
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/tuopu-01/image-version.yaml
|
|
||||||
- $values/environments/tuopu-01/gateway-values.yaml
|
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# tuopu-01 — mixingx-infra(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+tuopu-01 / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-infra
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.87
|
|
||||||
path: release-charts/mixingx-infra
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-infra
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/tuopu-01/image-version.yaml
|
|
||||||
- $values/environments/tuopu-01/infra-values.yaml
|
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
ref: values
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: mixingx
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
# tuopu-01 — 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.87
|
|
||||||
path: release-charts/mixingx-mqttx
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-mqttx
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/tuopu-01/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/tuopu-01/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: tuopu-01-root
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
source:
|
|
||||||
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
|
||||||
targetRevision: release
|
|
||||||
path: applications/tuopu-01
|
|
||||||
directory:
|
|
||||||
exclude: "root.yaml"
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: argocd
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: false
|
|
||||||
selfHeal: false
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
# tuopu-01 — mixingx-sso(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+tuopu-01 / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-sso
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.87
|
|
||||||
path: release-charts/mixingx-sso
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-sso
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/tuopu-01/image-version.yaml
|
|
||||||
- $values/environments/tuopu-01/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 @@
|
|||||||
# tuopu-01 — mixingx-ultra(客户环境 Application,ADR-0068)
|
|
||||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+tuopu-01 / deploy 钉 release 分支 /
|
|
||||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
|
||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: mixingx-ultra
|
|
||||||
namespace: argocd
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
|
||||||
targetRevision: chart-v1.0.87
|
|
||||||
path: release-charts/mixingx-ultra
|
|
||||||
helm:
|
|
||||||
releaseName: mixingx-ultra
|
|
||||||
valueFiles:
|
|
||||||
- $values/environments/_common/registry.yaml
|
|
||||||
- $values/environments/tuopu-01/image-version.yaml
|
|
||||||
- $values/environments/tuopu-01/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,76 @@
|
|||||||
|
# Argo CD Offline Bootstrap
|
||||||
|
|
||||||
|
This directory is the supported installation and recovery path for Argo CD on the demo k3s server `192.168.1.173`.
|
||||||
|
|
||||||
|
It allows Argo CD to restart while Harbor `192.168.1.119:8888` is unavailable, provided the exact pinned images are already present in the server's k3s containerd cache. It does not make new or uncached image versions available offline.
|
||||||
|
|
||||||
|
## Pinned sources
|
||||||
|
|
||||||
|
- Argo CD release: `v3.4.4`
|
||||||
|
- Upstream manifest: `https://raw.githubusercontent.com/argoproj/argo-cd/v3.4.4/manifests/install.yaml`
|
||||||
|
- Vendored manifest: `vendor/install-v3.4.4.yaml`
|
||||||
|
- SHA-256: `b0f9119821f2e19b852c842b9cb235eb9c3ef1549554fbda6aa5904e8d440eae`
|
||||||
|
|
||||||
|
The Kustomize overlay rewrites the upstream images to:
|
||||||
|
|
||||||
|
```text
|
||||||
|
192.168.1.119:8888/argoproj/argocd:v3.4.4
|
||||||
|
192.168.1.119:8888/dexidp/dex:v2.45.0
|
||||||
|
192.168.1.119:8888/library/redis:8.2.3-alpine
|
||||||
|
```
|
||||||
|
|
||||||
|
All Argo CD Deployment and StatefulSet containers, including init containers, explicitly use `imagePullPolicy: IfNotPresent`.
|
||||||
|
|
||||||
|
## Install or recover
|
||||||
|
|
||||||
|
Copy this entire directory to the k3s server, then run:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo ./apply.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
The script is idempotent. Before applying anything, it:
|
||||||
|
|
||||||
|
1. Renders and verifies the local vendored manifest.
|
||||||
|
2. Rejects upstream images and any `imagePullPolicy: Always`.
|
||||||
|
3. Verifies all three exact Harbor image references are in the local k3s image cache.
|
||||||
|
4. Records the existing Argo CD Applications.
|
||||||
|
|
||||||
|
It then applies the render with Kubernetes Server-Side Apply and conflict resolution, waits up to 300 seconds per workload, verifies the live pull policies, rejects image-pull failures, and confirms that pre-existing Applications remain present.
|
||||||
|
|
||||||
|
Server-Side Apply is required for Argo CD 3.3 and later because the ApplicationSet CRD exceeds Kubernetes' 262144-byte annotation limit for client-side apply. The flags match the official Argo CD install and upgrade procedure:
|
||||||
|
|
||||||
|
```text
|
||||||
|
--server-side --force-conflicts
|
||||||
|
```
|
||||||
|
|
||||||
|
The script never pulls, retags, deletes, or garbage-collects images. If an image is missing, restore Harbor or deliberately import that exact image before retrying.
|
||||||
|
|
||||||
|
Do not apply the upstream `install.yaml` directly. Its `Always` policies will make Argo CD depend on Harbor again after pods or the server restart.
|
||||||
|
|
||||||
|
## Verify
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo k3s kubectl -n argocd get pods
|
||||||
|
|
||||||
|
sudo k3s kubectl -n argocd get deploy,statefulset \
|
||||||
|
-o jsonpath='{range .items[*]}{.kind}{"/"}{.metadata.name}{"\n"}{range .spec.template.spec.initContainers[*]} init:{.name}={.imagePullPolicy}{"\n"}{end}{range .spec.template.spec.containers[*]} container:{.name}={.imagePullPolicy}{"\n"}{end}{end}'
|
||||||
|
|
||||||
|
sudo k3s kubectl -n argocd get applications.argoproj.io -o name
|
||||||
|
```
|
||||||
|
|
||||||
|
Every listed container and init container must report `IfNotPresent`. No pod may report `ErrImagePull` or `ImagePullBackOff`.
|
||||||
|
|
||||||
|
## Upgrade
|
||||||
|
|
||||||
|
For each Argo CD upgrade:
|
||||||
|
|
||||||
|
1. Download `manifests/install.yaml` from an exact Argo CD release tag, never `stable`.
|
||||||
|
2. Replace the vendored manifest and record its new SHA-256 here.
|
||||||
|
3. Update the Argo CD, Dex, and Redis versions in `kustomization.yaml`, `verify-render.sh`, and `apply.sh`.
|
||||||
|
4. Compare upstream workload and container names with `tests/expected-workloads.txt`; update the inventory and patches if upstream changed them.
|
||||||
|
5. Run `kubectl kustomize .` and `./verify-render.sh <rendered-file>` locally.
|
||||||
|
6. Push the new images to Harbor and ensure the exact Harbor references are cached or explicitly imported on `192.168.1.173`.
|
||||||
|
7. Run only `sudo ./apply.sh`, then verify rollouts, pull policies, pods, and Applications.
|
||||||
|
|
||||||
|
Never apply an upgrade until the cache precheck passes.
|
||||||
Executable
+121
@@ -0,0 +1,121 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||||
|
INVENTORY_FILE="$SCRIPT_DIR/tests/expected-workloads.txt"
|
||||||
|
VERIFY_SCRIPT="$SCRIPT_DIR/verify-render.sh"
|
||||||
|
ROLLOUT_TIMEOUT="${ROLLOUT_TIMEOUT:-300s}"
|
||||||
|
|
||||||
|
EXPECTED_IMAGES=(
|
||||||
|
"192.168.1.119:8888/argoproj/argocd:v3.4.4"
|
||||||
|
"192.168.1.119:8888/dexidp/dex:v2.45.0"
|
||||||
|
"192.168.1.119:8888/library/redis:8.2.3-alpine"
|
||||||
|
)
|
||||||
|
|
||||||
|
fail() {
|
||||||
|
echo "ERROR: $*" >&2
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
[[ "${EUID:-$(id -u)}" -eq 0 ]] || fail "this script must run as root (use sudo)"
|
||||||
|
command -v k3s >/dev/null 2>&1 || fail "k3s is required"
|
||||||
|
[[ -x "$VERIFY_SCRIPT" ]] || fail "render verifier is missing or not executable: $VERIFY_SCRIPT"
|
||||||
|
[[ -s "$INVENTORY_FILE" ]] || fail "workload inventory is missing or empty: $INVENTORY_FILE"
|
||||||
|
|
||||||
|
temporary_dir="$(mktemp -d)"
|
||||||
|
trap 'rm -rf "$temporary_dir"' EXIT
|
||||||
|
|
||||||
|
rendered_manifest="$temporary_dir/argocd-install.yaml"
|
||||||
|
cached_images="$temporary_dir/cached-images.txt"
|
||||||
|
applications_before="$temporary_dir/applications-before.txt"
|
||||||
|
applications_after="$temporary_dir/applications-after.txt"
|
||||||
|
|
||||||
|
echo "Rendering pinned Argo CD offline manifest..."
|
||||||
|
k3s kubectl kustomize "$SCRIPT_DIR" > "$rendered_manifest" \
|
||||||
|
|| fail "kustomize render failed"
|
||||||
|
"$VERIFY_SCRIPT" "$rendered_manifest"
|
||||||
|
|
||||||
|
echo "Checking the local k3s containerd image cache..."
|
||||||
|
k3s ctr images list -q | sort -u > "$cached_images" \
|
||||||
|
|| fail "could not read the k3s containerd image cache"
|
||||||
|
|
||||||
|
missing_images=()
|
||||||
|
for expected_image in "${EXPECTED_IMAGES[@]}"; do
|
||||||
|
if ! grep -Fxq "$expected_image" "$cached_images"; then
|
||||||
|
missing_images+=("$expected_image")
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
if (( ${#missing_images[@]} > 0 )); then
|
||||||
|
echo "ERROR: required images are missing from the local k3s cache:" >&2
|
||||||
|
printf ' %s\n' "${missing_images[@]}" >&2
|
||||||
|
fail "restore Harbor or import the exact images before applying"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if k3s kubectl get crd applications.argoproj.io >/dev/null 2>&1; then
|
||||||
|
k3s kubectl -n argocd get applications.argoproj.io -o name 2>/dev/null \
|
||||||
|
| sort > "$applications_before"
|
||||||
|
else
|
||||||
|
: > "$applications_before"
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Applying the verified manifest..."
|
||||||
|
k3s kubectl apply --server-side --force-conflicts -f "$rendered_manifest"
|
||||||
|
|
||||||
|
while read -r resource _containers; do
|
||||||
|
[[ -n "$resource" ]] || continue
|
||||||
|
resource_kind="${resource%%/*}"
|
||||||
|
resource_name="${resource#*/}"
|
||||||
|
resource_kind="$(printf '%s' "$resource_kind" | tr '[:upper:]' '[:lower:]')"
|
||||||
|
echo "Waiting for $resource_kind/$resource_name..."
|
||||||
|
k3s kubectl -n argocd rollout status "$resource_kind/$resource_name" \
|
||||||
|
--timeout="$ROLLOUT_TIMEOUT"
|
||||||
|
done < "$INVENTORY_FILE"
|
||||||
|
|
||||||
|
echo "Verifying live pull policies..."
|
||||||
|
while read -r resource containers; do
|
||||||
|
[[ -n "$resource" && -n "$containers" ]] || continue
|
||||||
|
resource_kind="${resource%%/*}"
|
||||||
|
resource_name="${resource#*/}"
|
||||||
|
resource_kind="$(printf '%s' "$resource_kind" | tr '[:upper:]' '[:lower:]')"
|
||||||
|
live_policies="$temporary_dir/${resource_kind}-${resource_name}-policies.txt"
|
||||||
|
|
||||||
|
k3s kubectl -n argocd get "$resource_kind/$resource_name" \
|
||||||
|
-o jsonpath='{range .spec.template.spec.initContainers[*]}{.name}={.imagePullPolicy}{"\n"}{end}{range .spec.template.spec.containers[*]}{.name}={.imagePullPolicy}{"\n"}{end}' \
|
||||||
|
| sort > "$live_policies"
|
||||||
|
|
||||||
|
expected_count=0
|
||||||
|
for container in $containers; do
|
||||||
|
expected_count=$((expected_count + 1))
|
||||||
|
grep -Fxq "$container=IfNotPresent" "$live_policies" \
|
||||||
|
|| fail "$resource does not have IfNotPresent for container $container"
|
||||||
|
done
|
||||||
|
|
||||||
|
actual_count="$(wc -l < "$live_policies" | tr -d '[:space:]')"
|
||||||
|
[[ "$actual_count" -eq "$expected_count" ]] \
|
||||||
|
|| fail "$resource container inventory changed: expected $expected_count, found $actual_count"
|
||||||
|
done < "$INVENTORY_FILE"
|
||||||
|
|
||||||
|
k3s kubectl -n argocd get applications.argoproj.io -o name 2>/dev/null \
|
||||||
|
| sort > "$applications_after"
|
||||||
|
|
||||||
|
missing_applications="$(comm -23 "$applications_before" "$applications_after")"
|
||||||
|
if [[ -n "$missing_applications" ]]; then
|
||||||
|
echo "ERROR: pre-existing Argo CD Applications are missing after apply:" >&2
|
||||||
|
printf '%s\n' "$missing_applications" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
pod_waiting_reasons="$(
|
||||||
|
k3s kubectl -n argocd get pods \
|
||||||
|
-o jsonpath='{range .items[*]}{.metadata.name}{" "}{range .status.initContainerStatuses[*]}{.state.waiting.reason}{" "}{end}{range .status.containerStatuses[*]}{.state.waiting.reason}{" "}{end}{"\n"}{end}'
|
||||||
|
)"
|
||||||
|
if printf '%s\n' "$pod_waiting_reasons" | grep -Eq 'ErrImagePull|ImagePullBackOff'; then
|
||||||
|
printf '%s\n' "$pod_waiting_reasons" >&2
|
||||||
|
fail "an Argo CD pod is still in an image-pull failure state"
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Argo CD offline bootstrap completed successfully."
|
||||||
|
k3s kubectl -n argocd get pods -o wide
|
||||||
|
echo "Retained pre-existing Applications: $(wc -l < "$applications_before" | tr -d '[:space:]')"
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
|
||||||
|
namespace: argocd
|
||||||
|
|
||||||
|
resources:
|
||||||
|
- namespace.yaml
|
||||||
|
- vendor/install-v3.4.4.yaml
|
||||||
|
|
||||||
|
images:
|
||||||
|
- name: quay.io/argoproj/argocd
|
||||||
|
newName: 192.168.1.119:8888/argoproj/argocd
|
||||||
|
newTag: v3.4.4
|
||||||
|
- name: ghcr.io/dexidp/dex
|
||||||
|
newName: 192.168.1.119:8888/dexidp/dex
|
||||||
|
newTag: v2.45.0
|
||||||
|
- name: public.ecr.aws/docker/library/redis
|
||||||
|
newName: 192.168.1.119:8888/library/redis
|
||||||
|
newTag: 8.2.3-alpine
|
||||||
|
|
||||||
|
patches:
|
||||||
|
- path: patches/application-controller.yaml
|
||||||
|
- path: patches/applicationset-controller.yaml
|
||||||
|
- path: patches/dex-server.yaml
|
||||||
|
- path: patches/notifications-controller.yaml
|
||||||
|
- path: patches/redis.yaml
|
||||||
|
- path: patches/repo-server.yaml
|
||||||
|
- path: patches/server.yaml
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: argocd
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: StatefulSet
|
||||||
|
metadata:
|
||||||
|
name: argocd-application-controller
|
||||||
|
spec:
|
||||||
|
template:
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: argocd-application-controller
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
Loaded 100 of 252 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user