diff --git a/apps/templates/applications.yaml b/apps/templates/applications.yaml new file mode 100644 index 0000000..1aa3af0 --- /dev/null +++ b/apps/templates/applications.yaml @@ -0,0 +1,22 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: applications + namespace: argo-cd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + destination: + server: https://kubernetes.default.svc + namespace: default + project: default + source: + path: Deployments/ + repoURL: https://git.roxedus.dev/Roxedus/Argo.git + targetRevision: HEAD + directory: + recurse: true + syncPolicy: + automated: + prune: true + selfHeal: true diff --git a/apps/templates/traefik.yaml b/apps/templates/traefik.yaml new file mode 100644 index 0000000..d603aec --- /dev/null +++ b/apps/templates/traefik.yaml @@ -0,0 +1,26 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: traefik + namespace: argo-cd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + destination: + server: https://kubernetes.default.svc + namespace: traefik + project: default + source: + path: Charts/traefik + repoURL: https://git.roxedus.dev/Roxedus/Argo.git + targetRevision: HEAD + helm: + version: v3 + valueFiles: + - values.yaml + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true