commit 03905f8bac0bc41d39dfd97cdaff6864f49dcd5f Author: devops Date: Sat Jun 20 23:12:41 2026 +0000 Añadir apps/ nginx/application.yaml Este archivo le dice a Argo CD: "Vigila esta carpeta y mantén el clúster igual a lo que está aquí". 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