Example Apps to Demonstrate Argo CD
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

38 lines
1000 B

apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: test-appset
namespace: argocd
spec:
generators:
- list:
elements:
# v0.2.0+ form - does not require cluster/URL keys (but are still supported)
- overlay: qa
gitRepo: git@github.com:evercast-chris/argocd-example-apps.git
appPath: overlays
appBranch: master
cluster: test2
url: https://kubernetes.default.svc
- overlay: stage
gitRepo: git@github.com:evercast-chris/argocd-example-apps.git
appPath: overlays
appBranch: master
cluster: test1
url: https://kubernetes.default.svc
template:
metadata:
name: 'demo-{{cluster}}'
spec:
project: default
syncPolicy:
automated:
prune: true
selfHeal: true
source:
repoURL: '{{gitRepo}}'
targetRevision: '{{appBranch}}'
path: '{{appPath}}/{{overlay}}'
destination:
server: '{{url}}'