diff --git a/resources/DUMMY b/resources/DUMMY new file mode 100644 index 0000000..e69de29 diff --git a/resources/app-projects/cf-git-sources.yaml b/resources/app-projects/cf-git-sources.yaml new file mode 100644 index 0000000..7a92e80 --- /dev/null +++ b/resources/app-projects/cf-git-sources.yaml @@ -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 diff --git a/runtimes/codefresh/in-cluster.yaml b/runtimes/codefresh/in-cluster.yaml new file mode 100644 index 0000000..1a197ce --- /dev/null +++ b/runtimes/codefresh/in-cluster.yaml @@ -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