This commit is contained in:
2023-08-08 17:00:42 -05:00
parent a8e743d0b6
commit 25855b2b5d
4 changed files with 92 additions and 33 deletions

20
argocd/templates/api.yaml Normal file
View File

@@ -0,0 +1,20 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: api
namespace: argocd
spec:
project: default
source:
repoURL: https://gitlab.com/developerdurp/homelab.git
targetRevision: main
path: api
destination:
namespace: api
name: in-cluster
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true