From 59134a04ace227430f95231c8c5ddba2790a1ce3 Mon Sep 17 00:00:00 2001 From: Roxedus Date: Sun, 5 Jun 2022 23:27:30 +0200 Subject: [PATCH] apps --- apps/templates/applications.yaml | 22 ++++++++++++++++++++++ apps/templates/traefik.yaml | 26 ++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 apps/templates/applications.yaml create mode 100644 apps/templates/traefik.yaml 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