diff --git a/apps/ecommerce-app.yaml b/apps/ecommerce-app.yaml index 367077f..5b2603f 100644 --- a/apps/ecommerce-app.yaml +++ b/apps/ecommerce-app.yaml @@ -1,17 +1,26 @@ apiVersion: argoproj.io/v1alpha1 kind: Application + metadata: name: ecommerce-app namespace: argocd + spec: project: default + source: - repoURL: https://gitea.cruzcloud.net/devops/apps-registry.git - path: workloads/ecommerce + repoURL: http://gitea.cruzcloud.net/devops/apps-registry.git targetRevision: main + path: workloads/ecommerce + kustomize: {} + destination: server: https://kubernetes.default.svc namespace: ecommerce + syncPolicy: automated: - prune: true \ No newline at end of file + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true \ No newline at end of file