Skip to content

Commit

Permalink
committing isc app 'in-cluster' to 'codefresh'
Browse files Browse the repository at this point in the history
adding 'resources' dir to shared-config repo
  • Loading branch information
chen-keinan committed Dec 23, 2024
1 parent b117b7e commit 077cfe0
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 0 deletions.
Empty file added resources/DUMMY
Empty file.
19 changes: 19 additions & 0 deletions resources/app-projects/cf-git-sources.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: argoproj.io/v1alpha1
kind: AppProject
metadata:
name: cf-git-sources
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destinations:
- namespace: '*'
server: '*'
sourceRepos:
- '*'
namespaceResourceBlacklist:
- group: codefresh.io
kind: Product
- group: codefresh.io
kind: PromotionFlow
- group: codefresh.io
kind: PromotionPolicy
28 changes: 28 additions & 0 deletions runtimes/codefresh/in-cluster.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
finalizers:
- resources-finalizer.argocd.argoproj.io
labels:
codefresh.io/entity: internal-config
codefresh.io/internal: "true"
name: in-cluster
spec:
destination:
namespace: codefresh
server: https://kubernetes.default.svc
project: default
source:
directory:
include: '{all-runtimes-all-clusters/*.yaml,all-runtimes-all-clusters/**/*.yaml,runtimes/codefresh/*.yaml,runtimes/codefresh/**/*.yaml,control-planes/*.yaml,control-planes/**/*.yaml}'
recurse: true
path: resources
repoURL: https://github.com/chen-keinan/kube-beacon.git
targetRevision: HEAD
syncPolicy:
automated:
allowEmpty: true
prune: true
selfHeal: true
syncOptions:
- allowEmpty=true

0 comments on commit 077cfe0

Please sign in to comment.