From ecf8fef4df03b9768897a46ddaa11f3ab9230f0a Mon Sep 17 00:00:00 2001 From: Megha Mehta Date: Sun, 21 Mar 2021 01:10:44 +0530 Subject: [PATCH] add argocd for dev --- kustomize-guestbook/overlays/dev/argo-app.yaml | 16 ++++++++++++++++ .../overlays/dev/kustomization.yaml | 3 ++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 kustomize-guestbook/overlays/dev/argo-app.yaml diff --git a/kustomize-guestbook/overlays/dev/argo-app.yaml b/kustomize-guestbook/overlays/dev/argo-app.yaml new file mode 100644 index 0000000..d46c28c --- /dev/null +++ b/kustomize-guestbook/overlays/dev/argo-app.yaml @@ -0,0 +1,16 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: guestbook + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + destination: + namespace: kustomize-guestbook + server: https://kubernetes.default.svc + project: default + source: + path: kustomize-guestbook/overlays/dev + repoURL: https://github.com/radtac-craft/argocd-example-apps.git + targetRevision: HEAD \ No newline at end of file diff --git a/kustomize-guestbook/overlays/dev/kustomization.yaml b/kustomize-guestbook/overlays/dev/kustomization.yaml index 6150327..0fc5da9 100644 --- a/kustomize-guestbook/overlays/dev/kustomization.yaml +++ b/kustomize-guestbook/overlays/dev/kustomization.yaml @@ -2,4 +2,5 @@ bases: - ../../base namePrefix: dev- patchesStrategicMerge: -- ingress.yaml \ No newline at end of file +- ingress.yaml +- argo-app.yaml \ No newline at end of file