diff --git a/apps/templates/argocd-folder.yaml b/apps/templates/argocd-folder.yaml new file mode 100644 index 0000000..a885a16 --- /dev/null +++ b/apps/templates/argocd-folder.yaml @@ -0,0 +1,22 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: argocd-folder + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + project: default + source: + repoURL: https://github.com/rubenhensen/k8scd.git + targetRevision: HEAD + path: argocd + destination: + server: https://kubernetes.default.svc + namespace: argocd + syncPolicy: + syncOptions: + - CreateNamespace=true + automated: + selfHeal: true + prune: true \ No newline at end of file diff --git a/apps/templates/longhorn.yaml b/apps/templates/longhorn-folder.yaml similarity index 100% rename from apps/templates/longhorn.yaml rename to apps/templates/longhorn-folder.yaml diff --git a/apps/templates/vault.yaml b/apps/templates/vault-folder.yaml similarity index 100% rename from apps/templates/vault.yaml rename to apps/templates/vault-folder.yaml diff --git a/argocd/kustomization.yaml b/argocd/kustomization.yaml new file mode 100644 index 0000000..4aedf66 --- /dev/null +++ b/argocd/kustomization.yaml @@ -0,0 +1,8 @@ +# additional resources like ingress rules, cluster and repository secrets. +resources: +- github.com/argoproj/argo-cd//manifests/cluster-install?ref=stable + + +# changes to config maps +# patches: +# - path: overlays/argo-cd-cm.yaml