diff --git a/apps/pubmedis.yaml b/apps/pubmedis.yaml new file mode 100644 index 0000000..6b6d7aa --- /dev/null +++ b/apps/pubmedis.yaml @@ -0,0 +1,31 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: pubmedis + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + project: infinicaretech + source: + repoURL: http://gitea-http.gitea.svc:3000/gitea_admin/gitops-infra.git + targetRevision: main + path: environments/pubmedis/overlays/production + destination: + server: https://kubernetes.default.svc + namespace: pubmedis + syncPolicy: + automated: + prune: true + selfHeal: true + allowEmpty: false + syncOptions: + - CreateNamespace=true + - PrunePropagationPolicy=foreground + - PruneLast=true + retry: + limit: 3 + backoff: + duration: 5s + factor: 2 + maxDuration: 3m0s \ No newline at end of file