diff --git a/argocd/templates/argocd-app.yaml b/argocd/templates/argocd-app.yaml new file mode 100644 index 0000000..50642d6 --- /dev/null +++ b/argocd/templates/argocd-app.yaml @@ -0,0 +1,20 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: url-shortener + namespace: argocd +spec: + project: default + source: + repoURL: https://gitea.arcodange.duckdns.org/arcodange-org/url-shortener + targetRevision: HEAD + path: argocd + destination: + server: https://kubernetes.default.svc + namespace: url-shortener + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true \ No newline at end of file