From 0ee6d258916d5d9bcfac7c9d2a9a2b388c9a8922 Mon Sep 17 00:00:00 2001 From: Barahalikar Siddharth Date: Wed, 8 Jun 2022 14:28:28 +0530 Subject: [PATCH] Create square-app.yml --- declarative/app-of-apps/square-app.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 declarative/app-of-apps/square-app.yml diff --git a/declarative/app-of-apps/square-app.yml b/declarative/app-of-apps/square-app.yml new file mode 100644 index 0000000..f7ed419 --- /dev/null +++ b/declarative/app-of-apps/square-app.yml @@ -0,0 +1,25 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: square-app + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + project: default + + source: + repoURL: https://github.com/sidd-harth/test-cd.git + targetRevision: HEAD + path: ./declarative/square + + destination: + server: https://kubernetes.default.svc + namespace: square + + syncPolicy: + syncOptions: + - CreateNamespace=true + automated: + prune: true + selfHeal: true