Actualizar apps/nginx-app.yaml

This commit is contained in:
2026-06-21 20:50:29 +00:00
parent 90b1f25cb9
commit f5af45d291
+4 -4
View File
@@ -6,15 +6,15 @@ metadata:
spec:
project: default
source:
repoURL: 'https://gitea.cruzcloud.net/devops/apps-registry.git'
repoURL: '[https://gitea.cruzcloud.net/devops/apps-registry.git](https://gitea.cruzcloud.net/devops/apps-registry.git)'
path: workloads/nginx
targetRevision: main
destination:
server: 'https://kubernetes.default.svc'
namespace: kube-system # 🔴 Cambiado a tu namespace dedicado
server: '[https://kubernetes.default.svc](https://kubernetes.default.svc)'
namespace: nginx-web # 🔴 1. Definimos nuestro propio namespace aislado
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true # 🔴 Obliga a Argo a crear el namespace si no existe
- CreateNamespace=true # 🔴 2. ¡Súper importante! Le decimos a ArgoCD que cree el namespace si no existe.