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