DONE
All checks were successful
Build and deploy / Build (push) Successful in 1m52s

This commit is contained in:
Evrard Van Espen
2025-11-20 20:08:45 +00:00
parent ad55d7018d
commit 54ffd24610

43
argo.template.yaml Normal file
View File

@@ -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