ArgoCD ApplicationSet
- argoproj-labs/applicationset
- 解决现在 ArgoCD app of app 问题
- ApplicationSet CRD
- 适用于多集群多租户,适用于 monorepo 场景
- 基于模版生成操作 Application
- generator
- list
- cluster
- git
- matrix - 多个 generator 同时生成
- scmProvider
- github, gitlab
- 扫描仓库和组织结构
- clusterDecisionResource
- 基于 external custom resource
- configMap
- pullRequest
- mergeKeys - Merge generator
- 基于字段合并 generator
提示
argocd 2.3 后默认安装 applicationset,不再需要额外安装。
# 安装 applicationset - 要确保先安装了 argocd
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj-labs/applicationset/master/manifests/install.yaml
# 默认删除 ApplicationSet 会删除生成的 Application
# 不级联删除
kubectl delete ApplicationSet <NAME> --cascade=false