添加 longhorn-system 和 mixingx 命名空间定义, 并设置 ArgoCD 同步波次为 -1 以确保优先创建。 同时禁用 basic-test 环境中的网关入口功能。
35 lines
716 B
YAML
35 lines
716 B
YAML
apiVersion: v1
|
|
kind: Namespace
|
|
metadata:
|
|
name: longhorn-system
|
|
annotations:
|
|
argocd.argoproj.io/sync-wave: "-1"
|
|
---
|
|
apiVersion: v1
|
|
kind: Namespace
|
|
metadata:
|
|
name: mixingx
|
|
annotations:
|
|
argocd.argoproj.io/sync-wave: "-1"
|
|
---
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: mixingx-basic-test-root
|
|
namespace: argocd
|
|
spec:
|
|
project: default
|
|
source:
|
|
repoURL: https://gitee.com/mixing-tech/mixingx.deploy.git
|
|
targetRevision: develop/basic-test
|
|
path: applications/basic-test
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: argocd
|
|
syncPolicy:
|
|
automated:
|
|
prune: false
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|