Actualizar apps/ nginx/application.yaml
This commit is contained in:
@@ -3,15 +3,17 @@ 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'
|
||||
path: apps/nginx
|
||||
targetRevision: HEAD
|
||||
# Aquí le decimos a Argo que, además de la app, inyecte la gobernanza
|
||||
plugin:
|
||||
name: argocd-kustomize-plugin # O simplemente usa kustomize si prefieres
|
||||
# Eliminamos el bloque 'plugin' y usamos la configuración nativa
|
||||
kustomize:
|
||||
namePrefix: nginx-
|
||||
destination:
|
||||
server: 'https://kubernetes.default.svc'
|
||||
namespace: nginx-web
|
||||
|
||||
Reference in New Issue
Block a user