服务清单: - gateway: ci-now v1.0.87 → v1.0.100(source: develop-v.1.0.1-202611160554-5) - sso: ci-now v1.0.87 → v1.0.100(source: develop-v.1.0.1-202611160555-8) - ultra: ci-now v1.0.87 → v1.0.100(source: develop-v.1.0.1-202611160555-8) - audit: ci-now v1.0.87 → v1.0.100(source: develop-v.1.0.1-202611160556-7) - agent: ci-now v1.0.87 → v1.0.100(source: develop-v.1.0.1-202611160556-14) - edge: ci-now v1.0.87 → v1.0.100(source: develop-v.1.0.1-202611160557-13) - wifi: ci-now v1.0.87 → v1.0.100(source: develop-v.1.0.1-202611160557-5) release-notes: AppArmor operator: admin
52 lines
1.6 KiB
YAML
52 lines
1.6 KiB
YAML
# sanhua — Agent 单元 ApplicationSet(按 environments/sanhua/agents.yaml 清单生成)
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: ApplicationSet
|
|
metadata:
|
|
name: mixingx-sanhua-agents
|
|
namespace: argocd
|
|
spec:
|
|
goTemplate: true
|
|
goTemplateOptions:
|
|
- missingkey=error
|
|
generators:
|
|
- matrix:
|
|
generators:
|
|
- git:
|
|
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
|
revision: release
|
|
files:
|
|
- path: environments/sanhua/agents.yaml
|
|
- list:
|
|
elementsYaml: '{{ .agents | toJson }}'
|
|
template:
|
|
metadata:
|
|
name: 'mixingx-agent-{{ .id }}'
|
|
spec:
|
|
project: default
|
|
sources:
|
|
- repoURL: https://gitee.com/mixing-tech/mixingx.hub.chart.git
|
|
targetRevision: chart-v1.0.100
|
|
path: release-charts/mixingx-agent-unit
|
|
helm:
|
|
releaseName: 'mixingx-agent-{{ .id }}'
|
|
valueFiles:
|
|
- $values/environments/_common/registry.yaml
|
|
- $values/environments/sanhua/image-version.yaml
|
|
- $values/environments/sanhua/agent-common-values.yaml
|
|
values: |
|
|
site: "{{ .id }}"
|
|
description: "{{ .description }}"
|
|
phaseType: "{{ .phaseType }}"
|
|
- repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
|
targetRevision: release
|
|
ref: values
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: mixingx
|
|
syncPolicy:
|
|
automated:
|
|
prune: false
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|