Actualizar apps/nginx-app.yaml
This commit is contained in:
+4
-4
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user