Añadir apps/ nginx/application.yaml
Este archivo le dice a Argo CD: "Vigila esta carpeta y mantén el clúster igual a lo que está aquí".
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
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](https://gitea.cruzcloud.net/devops/apps-registry.git)'
|
||||
path: apps/nginx
|
||||
targetRevision: HEAD
|
||||
destination:
|
||||
server: '[https://kubernetes.default.svc](https://kubernetes.default.svc)'
|
||||
namespace: nginx-web
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
Reference in New Issue
Block a user