Feedback

Chat Icon

GitOps the Hard Way, with Argo CD

Build Real GitOps Pipelines From Empty Clusters to Automated Deploys

Sync Policy: Every Field, Every Sync Option, Every Annotation
52%

Skipping Schema Validation Before Apply

The Validate option controls whether Argo CD checks your manifests against the resource schema before applying them. It is the equivalent of kubectl apply --validate.

By default validation is on, so a manifest with a misspelled field or a wrong type gets rejected before it reaches the cluster. Setting Validate=false turns that check off, the same as kubectl apply --validate=false. You rarely want this. The main reason to reach for it is a resource whose CRD is not installed yet, or a field your client-side schema does not know about but the API server does.

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: todo-app
  namespace: argocd
spec:
  destination:
    namespace: default
    server: https://kubernetes.default.svc
  project

GitOps the Hard Way, with Argo CD

Build Real GitOps Pipelines From Empty Clusters to Automated Deploys

Enroll now to unlock all content and receive all future updates for free.