服务清单: - gateway: pin-acr v1.0.85 → v1.0.101(source: v1.0.101) - sso: pin-acr v1.0.94 → v1.0.101(source: v1.0.101) - ultra: pin-acr v1.0.86 → v1.0.101(source: v1.0.101) - audit: pin-acr v1.0.68 → v1.0.101(source: v1.0.101) - agent: pin-acr v1.0.92 → v1.0.101(source: v1.0.101) - edge: pin-acr v1.0.86 → v1.0.101(source: v1.0.101) - wifi: pin-acr v1.0.84 → v1.0.101(source: v1.0.101) release-notes: xjf发布 operator: admin
69 lines
2.4 KiB
YAML
69 lines
2.4 KiB
YAML
# tayo — Edge 单元 ApplicationSet(按 environments/tayo/edges.yaml 清单生成)
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: ApplicationSet
|
|
metadata:
|
|
name: mixingx-tayo-edges
|
|
namespace: argocd
|
|
spec:
|
|
goTemplate: true
|
|
goTemplateOptions:
|
|
- missingkey=error
|
|
generators:
|
|
- matrix:
|
|
generators:
|
|
- git:
|
|
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
|
revision: release
|
|
files:
|
|
- path: environments/tayo/edges.yaml
|
|
- list:
|
|
elementsYaml: '{{ .edges | toJson }}'
|
|
template:
|
|
metadata:
|
|
name: 'mixingx-edge-{{ .id }}'
|
|
spec:
|
|
project: default
|
|
sources:
|
|
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
|
targetRevision: chart-v1.0.102
|
|
path: release-charts/mixingx-edge-unit
|
|
helm:
|
|
releaseName: 'mixingx-edge-{{ .id }}'
|
|
valueFiles:
|
|
- $values/environments/_common/registry.yaml
|
|
- $values/environments/tayo/image-version.yaml
|
|
- $values/environments/tayo/edge-common-values.yaml
|
|
values: |
|
|
site: "{{ .id }}"
|
|
idWorkerId: {{ .idWorkerId }}
|
|
description: "{{ .description }}"
|
|
{{- if hasKey . "nodeLabel" }}
|
|
nodeSelector:
|
|
mixingx.io/edge-node: "{{ .nodeLabel }}"
|
|
{{- end }}
|
|
{{- /* ADS Router 逐实例身份透传(chart 默认 enabled=true):实例缺 adsRouter
|
|
身份时不在此兜底,由 chart 渲染守卫明确拒绝。 */ -}}
|
|
{{- if hasKey . "adsRouter" }}
|
|
adsRouter:
|
|
localNetId: "{{ .adsRouter.localNetId }}"
|
|
publicAddress: "{{ .adsRouter.publicAddress }}"
|
|
{{- if hasKey .adsRouter "clientEndPoint" }}
|
|
clientEndPoint: "{{ .adsRouter.clientEndPoint }}"
|
|
{{- end }}
|
|
{{- if hasKey .adsRouter "externalPort" }}
|
|
externalPort: {{ .adsRouter.externalPort }}
|
|
{{- end }}
|
|
{{- end }}
|
|
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
|
targetRevision: release
|
|
ref: values
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: mixingx
|
|
syncPolicy:
|
|
automated:
|
|
prune: false
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|