Files
argocd-003/2-example/application.yaml
2025-03-26 10:29:34 +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://github.com/antonputra/lesson-158.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