Files
argocd-003/2-example/application.yaml
2025-03-26 10:38:55 +03:00

27 lines
603 B
YAML

---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: apps-staging
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
repoURL: https://git.benadis.ru/gitops/argocd-001.git
targetRevision: HEAD
path: environments/staging/apps
destination:
server: https://kubernetes.default.svc
syncPolicy:
automated:
prune: true
selfHeal: true
allowEmpty: false
syncOptions:
- Validate=true
- CreateNamespace=false
- PrunePropagationPolicy=foreground
- PruneLast=true