Actualizar apps/ nginx/application.yaml
This commit is contained in:
@@ -1,18 +1,23 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
apiVersion: argoproj.io/v1alpha1
|
||||||
kind: Application
|
kind: Application
|
||||||
metadata:
|
metadata:
|
||||||
name: root-apps-registry
|
name: nginx-app
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
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
|
path: apps/nginx
|
||||||
targetRevision: HEAD
|
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
|
||||||
destination:
|
destination:
|
||||||
server: 'https://kubernetes.default.svc'
|
server: 'https://kubernetes.default.svc'
|
||||||
namespace: argocd
|
namespace: nginx-web
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
automated:
|
automated:
|
||||||
prune: true
|
prune: true
|
||||||
selfHeal: true
|
selfHeal: true
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
Reference in New Issue
Block a user