feat(release): mxlexus 客户环境全套 + _common 共享 values(release 分支首提交)
- environments/_common/registry.yaml: 全客户共享非版本 values(ACR 地址+imagePullSecrets,铁律禁 tag) - environments/mxlexus/: image-version 钉 v1.0.1(占位,首发由流水线改写)+ 8 个站点 values(第三方镜像显式 ACR 引用,TODO(D3) 标注现场核对项) - applications/mxlexus/: 5 单应用 + edges/agents ApplicationSet(chart 钉 chart tag,deploy 钉 release,automated+selfHeal+prune 关) - bootstrap/mixingx-mxlexus-root.yaml: 现场 root app - RELEASE.md: 分支纪律(ADR-0068) - 本地 helm 渲染验证:ACR 地址/v1.0.1/imagePullSecrets/IfNotPresent 全部正确
This commit is contained in:
1 parent
a1a1a617ff
commit
638d1bca8f
20 files changed
+654
No files matched your search
@@ -0,0 +1,51 @@
|
||||
# mxlexus — Agent 单元 ApplicationSet(按 environments/mxlexus/agents.yaml 清单生成)
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: ApplicationSet
|
||||
metadata:
|
||||
name: mixingx-mxlexus-agents
|
||||
namespace: argocd
|
||||
spec:
|
||||
goTemplate: true
|
||||
goTemplateOptions:
|
||||
- missingkey=error
|
||||
generators:
|
||||
- matrix:
|
||||
generators:
|
||||
- git:
|
||||
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
revision: release
|
||||
files:
|
||||
- path: environments/mxlexus/agents.yaml
|
||||
- list:
|
||||
elementsYaml: '{{ .agents | toJson }}'
|
||||
template:
|
||||
metadata:
|
||||
name: 'mixingx-agent-{{ .id }}'
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.1
|
||||
path: release-charts/mixingx-agent-unit
|
||||
helm:
|
||||
releaseName: 'mixingx-agent-{{ .id }}'
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/mxlexus/image-version.yaml
|
||||
- $values/environments/mxlexus/agent-common-values.yaml
|
||||
values: |
|
||||
site: "{{ .id }}"
|
||||
description: "{{ .description }}"
|
||||
phaseType: "{{ .phaseType }}"
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,32 @@
|
||||
# mxlexus — mixingx-audit(客户环境 Application,ADR-0068)
|
||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxlexus / deploy 钉 release 分支 /
|
||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-audit
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.1
|
||||
path: release-charts/mixingx-audit
|
||||
helm:
|
||||
releaseName: mixingx-audit
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/mxlexus/image-version.yaml
|
||||
- $values/environments/mxlexus/audit-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,55 @@
|
||||
# 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.1
|
||||
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 }}
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,32 @@
|
||||
# mxlexus — mixingx-gateway(客户环境 Application,ADR-0068)
|
||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxlexus / deploy 钉 release 分支 /
|
||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-gateway
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.1
|
||||
path: release-charts/mixingx-gateway
|
||||
helm:
|
||||
releaseName: mixingx-gateway
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/mxlexus/image-version.yaml
|
||||
- $values/environments/mxlexus/gateway-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,32 @@
|
||||
# mxlexus — mixingx-infra(客户环境 Application,ADR-0068)
|
||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxlexus / deploy 钉 release 分支 /
|
||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-infra
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.1
|
||||
path: release-charts/mixingx-infra
|
||||
helm:
|
||||
releaseName: mixingx-infra
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/mxlexus/image-version.yaml
|
||||
- $values/environments/mxlexus/infra-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,32 @@
|
||||
# mxlexus — mixingx-sso(客户环境 Application,ADR-0068)
|
||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxlexus / deploy 钉 release 分支 /
|
||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-sso
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.1
|
||||
path: release-charts/mixingx-sso
|
||||
helm:
|
||||
releaseName: mixingx-sso
|
||||
valueFiles:
|
||||
- $values/environments/_common/registry.yaml
|
||||
- $values/environments/mxlexus/image-version.yaml
|
||||
- $values/environments/mxlexus/sso-values.yaml
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
||||
targetRevision: release
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: mixingx
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: false
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
@@ -0,0 +1,32 @@
|
||||
# mxlexus — mixingx-ultra(客户环境 Application,ADR-0068)
|
||||
# 与 demo 的差异:chart 钉 chart tag / values 来自 _common+mxlexus / deploy 钉 release 分支 /
|
||||
# automated+selfHeal(现场无人值守,push 即升级)/ prune 关(防误删硬件绑定资源)
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: mixingx-ultra
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
||||
targetRevision: chart-v1.0.1
|
||||
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
|
||||
Reference in new issue
Block a user