tayo: 新增 tayo 环境(参考 daye 建档;edge idWorkerId 43,publicAddress 占位 192.168.1.211 待现场实测替换;release-notes 置空)
This commit is contained in:
1 parent
9721fef782
commit
e3e6bbfd39
23 files changed
+695
No files matched your search
@@ -0,0 +1,51 @@
|
||||
# tayo — Agent 单元 ApplicationSet(按 environments/tayo/agents.yaml 清单生成)
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: ApplicationSet
|
||||
metadata:
|
||||
name: mixingx-tayo-agents
|
||||
namespace: argocd
|
||||
spec:
|
||||
goTemplate: true
|
||||
goTemplateOptions:
|
||||
- missingkey=error
|
||||
generators:
|
||||
- matrix:
|
||||
generators:
|
||||
- git:
|
||||
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
revision: release
|
||||
files:
|
||||
- path: environments/tayo/agents.yaml
|
||||
- list:
|
||||
elementsYaml: '{{ .agents | toJson }}'
|
||||
template:
|
||||
metadata:
|
||||
name: 'mixingx-agent-{{ .id }}'
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.95
|
||||
path: release-charts/mixingx-agent-unit
|
||||
helm:
|
||||
releaseName: 'mixingx-agent-{{ .id }}'
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/tayo/image-version.yaml
|
||||
- $values/environments/tayo/agent-common-values.yaml
|
||||
values: |
|
||||
site: "{{ .id }}"
|
||||
description: "{{ .description }}"
|
||||
phaseType: "{{ .phaseType }}"
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,32 @@
|
||||
# tayo — mixingx-audit(客户环境 Application,ADR-0068)
|
||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+tayo / deploy 钉 release 分支 /
|
||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-audit
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.95
|
||||
path: release-charts/mixingx-audit
|
||||
helm:
|
||||
releaseName: mixingx-audit
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/tayo/image-version.yaml
|
||||
- $values/environments/tayo/audit-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,68 @@
|
||||
# tayo — Edge 单元 ApplicationSet(按 environments/tayo/edges.yaml 清单生成)
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: ApplicationSet
|
||||
metadata:
|
||||
name: mixingx-tayo-edges
|
||||
namespace: argocd
|
||||
spec:
|
||||
goTemplate: true
|
||||
goTemplateOptions:
|
||||
- missingkey=error
|
||||
generators:
|
||||
- matrix:
|
||||
generators:
|
||||
- git:
|
||||
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
revision: release
|
||||
files:
|
||||
- path: environments/tayo/edges.yaml
|
||||
- list:
|
||||
elementsYaml: '{{ .edges | toJson }}'
|
||||
template:
|
||||
metadata:
|
||||
name: 'mixingx-edge-{{ .id }}'
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.95
|
||||
path: release-charts/mixingx-edge-unit
|
||||
helm:
|
||||
releaseName: 'mixingx-edge-{{ .id }}'
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/tayo/image-version.yaml
|
||||
- $values/environments/tayo/edge-common-values.yaml
|
||||
values: |
|
||||
site: "{{ .id }}"
|
||||
idWorkerId: {{ .idWorkerId }}
|
||||
description: "{{ .description }}"
|
||||
{{- if hasKey . "nodeLabel" }}
|
||||
nodeSelector:
|
||||
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
||||
{{- end }}
|
||||
{{- /* ADS Router 逐实例身份透传(chart 默认 enabled=true):实例缺 adsRouter
|
||||
身份时不在此兜底,由 chart 渲染守卫明确拒绝。 */ -}}
|
||||
{{- if hasKey . "adsRouter" }}
|
||||
adsRouter:
|
||||
localNetId: "{{ .adsRouter.localNetId }}"
|
||||
publicAddress: "{{ .adsRouter.publicAddress }}"
|
||||
{{- if hasKey .adsRouter "clientEndPoint" }}
|
||||
clientEndPoint: "{{ .adsRouter.clientEndPoint }}"
|
||||
{{- end }}
|
||||
{{- if hasKey .adsRouter "externalPort" }}
|
||||
externalPort: {{ .adsRouter.externalPort }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,32 @@
|
||||
# tayo — mixingx-gateway(客户环境 Application,ADR-0068)
|
||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+tayo / deploy 钉 release 分支 /
|
||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-gateway
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.95
|
||||
path: release-charts/mixingx-gateway
|
||||
helm:
|
||||
releaseName: mixingx-gateway
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/tayo/image-version.yaml
|
||||
- $values/environments/tayo/gateway-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,32 @@
|
||||
# tayo — mixingx-infra(客户环境 Application,ADR-0068)
|
||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+tayo / deploy 钉 release 分支 /
|
||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-infra
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.95
|
||||
path: release-charts/mixingx-infra
|
||||
helm:
|
||||
releaseName: mixingx-infra
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/tayo/image-version.yaml
|
||||
- $values/environments/tayo/infra-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,29 @@
|
||||
# tayo — MQTTX 调试客户端
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-mqttx
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.95
|
||||
path: release-charts/mixingx-mqttx
|
||||
helm:
|
||||
releaseName: mixingx-mqttx
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/tayo/mqttx-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,28 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-network-agent
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: master
|
||||
path: release-charts/mixingx-network-agent
|
||||
helm:
|
||||
releaseName: mixingx-network-agent
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/tayo/network-agent-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,20 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: tayo-root
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
path: applications/tayo
|
||||
directory:
|
||||
exclude: "root.yaml"
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: argocd
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: false
|
||||
@@ -0,0 +1,32 @@
|
||||
# tayo — mixingx-sso(客户环境 Application,ADR-0068)
|
||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+tayo / deploy 钉 release 分支 /
|
||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-sso
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.95
|
||||
path: release-charts/mixingx-sso
|
||||
helm:
|
||||
releaseName: mixingx-sso
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/tayo/image-version.yaml
|
||||
- $values/environments/tayo/sso-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,32 @@
|
||||
# tayo — mixingx-ultra(客户环境 Application,ADR-0068)
|
||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+tayo / deploy 钉 release 分支 /
|
||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-ultra
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.95
|
||||
path: release-charts/mixingx-ultra
|
||||
helm:
|
||||
releaseName: mixingx-ultra
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/tayo/image-version.yaml
|
||||
- $values/environments/tayo/ultra-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
Reference in new issue
Block a user