From ac12b081e1549215e671ee43493fba2b2272cad4 Mon Sep 17 00:00:00 2001 From: Luis Arrieta Date: Tue, 25 Nov 2025 05:45:08 -0500 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=94=A7=20feature/apps-of-apps:=20Upda?= =?UTF-8?q?te=20App=20of=20Apps?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app-of-apps/root-app/my-application.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-of-apps/root-app/my-application.yml b/app-of-apps/root-app/my-application.yml index a5bc9b98c3..3fb03a98eb 100644 --- a/app-of-apps/root-app/my-application.yml +++ b/app-of-apps/root-app/my-application.yml @@ -13,7 +13,7 @@ spec: # Source of the application manifests source: - repoURL: https://github.com/codefresh-contrib/gitops-cert-level-2-examples.git + repoURL: https://github.com/larrietacohen/gitops-cert-level-2-examples.git targetRevision: HEAD path: ./app-of-apps/my-app-list From 5feae99c17a56f7d5ad32cfa96083f6cf149b871 Mon Sep 17 00:00:00 2001 From: Luis Arrieta Date: Tue, 25 Nov 2025 05:52:34 -0500 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=94=A7=20feature/apps-of-apps:=20Upda?= =?UTF-8?q?te=20App=20of=20Apps=20New=20Apps?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app-of-apps/my-app-list/argo-workflows.yml | 32 ++++++++++++++++++++++ app-of-apps/my-app-list/kubeview.yml | 32 ++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 app-of-apps/my-app-list/argo-workflows.yml create mode 100644 app-of-apps/my-app-list/kubeview.yml diff --git a/app-of-apps/my-app-list/argo-workflows.yml b/app-of-apps/my-app-list/argo-workflows.yml new file mode 100644 index 0000000000..bd43d9c93d --- /dev/null +++ b/app-of-apps/my-app-list/argo-workflows.yml @@ -0,0 +1,32 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: argo-workflows + # You'll usually want to add your resources to the argocd namespace. + namespace: argocd + # Add a this finalizer ONLY if you want these to cascade delete. + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + # The project the application belongs to. + project: default + + # Source of the application manifests + source: + repoURL: https://github.com/codefresh-contrib/gitops-cert-level-2-examples.git + targetRevision: HEAD + path: ./app-of-apps/manifests + + # Destination cluster and namespace to deploy the application + destination: + server: https://kubernetes.default.svc + namespace: argo-workflows + + # Sync policy + syncPolicy: + syncOptions: + - CreateNamespace=true + automated: # automated sync by default retries failed attempts 5 times with following delays between attempts ( 5s, 10s, 20s, 40s, 80s ); retry controlled using `retry` field. + prune: true # Specifies if resources should be pruned during auto-syncing ( false by default ). + selfHeal: true # Specifies if partial app sync should be executed when resources are changed only in target Kubernetes cluster and no git change detected ( false by default ). + diff --git a/app-of-apps/my-app-list/kubeview.yml b/app-of-apps/my-app-list/kubeview.yml new file mode 100644 index 0000000000..91cb797c23 --- /dev/null +++ b/app-of-apps/my-app-list/kubeview.yml @@ -0,0 +1,32 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: kubeview + # You'll usually want to add your resources to the argocd namespace. + namespace: argocd + # Add a this finalizer ONLY if you want these to cascade delete. + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + # The project the application belongs to. + project: default + + # Source of the application manifests + source: + repoURL: https://github.com/codefresh-contrib/gitops-cert-level-2-examples.git + targetRevision: HEAD + path: ./app-of-apps/manifests + + # Destination cluster and namespace to deploy the application + destination: + server: https://kubernetes.default.svc + namespace: kubeview + + # Sync policy + syncPolicy: + syncOptions: + - CreateNamespace=true + automated: # automated sync by default retries failed attempts 5 times with following delays between attempts ( 5s, 10s, 20s, 40s, 80s ); retry controlled using `retry` field. + prune: true # Specifies if resources should be pruned during auto-syncing ( false by default ). + selfHeal: true # Specifies if partial app sync should be executed when resources are changed only in target Kubernetes cluster and no git change detected ( false by default ). +