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