Skip to content

Commit

Permalink
add git-source "argo-example"
Browse files Browse the repository at this point in the history
  • Loading branch information
chen-keinan committed Dec 24, 2024
1 parent 144ce40 commit 1499336
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
27 changes: 27 additions & 0 deletions resources/codefresh/argo-example.yaml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion runtimes/codefresh/in-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1499336

Please sign in to comment.