Sync Policy: Every Field, Every Sync Option, Every Annotation
44%
Reading the Application Manifest Field by Field
In our latest examples, we used the following YAML to create the Application resource:
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: todo-app
namespace: argocd
spec:
destination:
namespace: default
server: https://kubernetes.default.svc
project: default
source:
path: manifests
repoURL: $GITLAB_URL
targetRevision: main
syncPolicy:
automated:
prune: true
selfHeal: true
allowEmpty: false
GitOps the Hard Way, with Argo CD
Build Real GitOps Pipelines From Empty Clusters to Automated DeploysEnroll now to unlock all content and receive all future updates for free.
Unlock now $20.99$16.79Learn More
Hurry! This limited time offer ends in:
To redeem this offer, copy the coupon code below and apply it at checkout:
