diff --git a/resources/codefresh/argo-example.yaml b/resources/codefresh/argo-example.yaml new file mode 100644 index 0000000..1696b49 --- /dev/null +++ b/resources/codefresh/argo-example.yaml @@ -0,0 +1,27 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: argo-example + labels: + codefresh.io/entity: 'git-source' + codefresh.io/internal: 'false' + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + project: cf-git-sources + sources: + - repoURL: https://github.com/chen-keinan/argocd-example-apps.git + path: . + targetRevision: main + directory: + include: '*' + exclude: '' + recurse: true + destination: + namespace: codefresh + server: https://kubernetes.default.svc + syncPolicy: + automated: + allowEmpty: true + prune: true + selfHeal: true diff --git a/runtimes/codefresh/in-cluster.yaml b/runtimes/codefresh/in-cluster.yaml index d83fef4..fbeb547 100644 --- a/runtimes/codefresh/in-cluster.yaml +++ b/runtimes/codefresh/in-cluster.yaml @@ -15,7 +15,7 @@ spec: source: directory: include: >- - {all-runtimes-all-clusters/**/*.yaml,all-runtimes-all-clusters/*.yaml,codefresh/cf-gitops-runtime.yaml,configurations/**/*.yaml,control-planes/**/*.yaml,control-planes/*.yaml,runtimes/codefresh/**/*.yaml,runtimes/codefresh/*.yaml} + {all-runtimes-all-clusters/**/*.yaml,all-runtimes-all-clusters/*.yaml,codefresh/argo-example.yaml,codefresh/cf-gitops-runtime.yaml,configurations/**/*.yaml,control-planes/**/*.yaml,control-planes/*.yaml,runtimes/codefresh/**/*.yaml,runtimes/codefresh/*.yaml} recurse: true path: resources repoURL: https://github.com/chen-keinan/kube-beacon.git