From 03905f8bac0bc41d39dfd97cdaff6864f49dcd5f Mon Sep 17 00:00:00 2001 From: devops Date: Sat, 20 Jun 2026 23:12:41 +0000 Subject: [PATCH] =?UTF-8?q?A=C3=B1adir=20apps/=20=20nginx/application.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Este archivo le dice a Argo CD: "Vigila esta carpeta y mantén el clúster igual a lo que está aquí". --- apps/ nginx/application.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 apps/ nginx/application.yaml diff --git a/apps/ nginx/application.yaml b/apps/ nginx/application.yaml new file mode 100644 index 0000000..ea277e4 --- /dev/null +++ b/apps/ nginx/application.yaml @@ -0,0 +1,22 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: nginx-app + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + project: default + source: + repoURL: '[https://gitea.cruzcloud.net/devops/apps-registry.git](https://gitea.cruzcloud.net/devops/apps-registry.git)' + path: apps/nginx + targetRevision: HEAD + destination: + server: '[https://kubernetes.default.svc](https://kubernetes.default.svc)' + namespace: nginx-web + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true \ No newline at end of file