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