diff --git a/application.yaml b/application.yaml new file mode 100644 index 0000000..97223ca --- /dev/null +++ b/application.yaml @@ -0,0 +1,33 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: security + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + project: default + + source: + repoURL: https://github.com/K3S-HOME/security.git + targetRevision: main + path: . + + destination: + server: https://kubernetes.default.svc + namespace: argocd + + syncPolicy: + automated: + prune: false + selfHeal: true + syncOptions: + - CreateNamespace=true + retry: + limit: 5 + backoff: + duration: 5s + factor: 2 + maxDuration: 3m + + revisionHistoryLimit: 10 diff --git a/kustomization.yaml b/kustomization.yaml index 42a6817..d6148dd 100644 --- a/kustomization.yaml +++ b/kustomization.yaml @@ -2,6 +2,9 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: + # Self-reference for App of Apps pattern + - application.yaml + - authelia/argocd.yaml - vault/argocd.yaml - external-secrets/argocd.yaml