From 54ffd24610beac698d7977995bc9857baf9dcc77 Mon Sep 17 00:00:00 2001 From: Evrard Van Espen Date: Thu, 20 Nov 2025 20:08:45 +0000 Subject: [PATCH] DONE --- argo.template.yaml | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 argo.template.yaml diff --git a/argo.template.yaml b/argo.template.yaml new file mode 100644 index 0000000..8b0d4c8 --- /dev/null +++ b/argo.template.yaml @@ -0,0 +1,43 @@ +--- +apiVersion: argoproj.io/v1alpha1 +kind: AppProject +metadata: + name: blog + namespace: argocd +spec: + description: Project for the blog application + sourceRepos: + - https://git.vanespen.dev/evanespen/blog + destinations: + - namespace: blog + server: https://kubernetes.default.svc + clusterResourceWhitelist: + - group: "*" + kind: "*" + namespaceResourceWhitelist: + - group: "*" + kind: "*" + syncWindows: [] + roles: [] + +--- +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: blog-argo + namespace: argocd +spec: + project: blog + source: + repoURL: "https://git.vanespen.dev/evanespen/blog" + targetRevision: COMMIT_REF + path: "k8s" + destination: + server: "https://kubernetes.default.svc" + namespace: blog + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true