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: spec:
project: default project: default
source: 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 path: workloads/nginx
targetRevision: main targetRevision: main
destination: destination:
server: 'https://kubernetes.default.svc' server: '[https://kubernetes.default.svc](https://kubernetes.default.svc)'
namespace: kube-system # 🔴 Cambiado a tu namespace dedicado namespace: nginx-web # 🔴 1. Definimos nuestro propio namespace aislado
syncPolicy: syncPolicy:
automated: automated:
prune: true prune: true
selfHeal: true selfHeal: true
syncOptions: 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.