feat(apps): add app-of-apps and app-of-projects
This commit is contained in:
parent
9a3e8fca08
commit
ce077f7f3a
2 changed files with 44 additions and 0 deletions
22
apps/cd/app-of-projects.yaml
Normal file
22
apps/cd/app-of-projects.yaml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: app-of-projects
|
||||
namespace: argocd
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "-10"
|
||||
spec:
|
||||
project: cd
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
source:
|
||||
path: projects/
|
||||
repoURL: git@gitlab.mareshq.com:hq/cthulhunetes/gitops.git
|
||||
targetRevision: HEAD
|
||||
destination:
|
||||
server: "https://kubernetes.default.svc"
|
||||
namespace: default
|
||||
Reference in a new issue