From ce4bf2e6381a47082f6f41843d748f15d8751f24 Mon Sep 17 00:00:00 2001 From: Khue Doan Date: Wed, 18 Aug 2021 10:21:28 +0700 Subject: [PATCH] Add root app --- apps/kustomization.yaml | 2 ++ apps/resources/argocd.yaml | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 apps/resources/argocd.yaml diff --git a/apps/kustomization.yaml b/apps/kustomization.yaml index 9c004551..19cc4f84 100644 --- a/apps/kustomization.yaml +++ b/apps/kustomization.yaml @@ -2,6 +2,8 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: +# Root app +- resources/argocd.yaml # System - resources/cert-manager.yaml - resources/descheduler.yaml diff --git a/apps/resources/argocd.yaml b/apps/resources/argocd.yaml new file mode 100644 index 00000000..9bc6dbe7 --- /dev/null +++ b/apps/resources/argocd.yaml @@ -0,0 +1,18 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: apps + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + project: default + destination: + name: in-cluster + source: + repoURL: https://github.com/khuedoan/homelab + path: apps + targetRevision: master + syncPolicy: + automated: + prune: true + selfHeal: true