Skip to main content

First Argo CD Application

Use generate argocd to produce an Argo CD Application manifest that points at your sanitized manifests.

scrubctl generate argocd my-app \
--repo-url https://github.com/example/repo.git \
--revision main \
--path manifests/overlays/install

Required inputs:

FlagPurpose
--repo-urlGit repository URL
--revisionGit branch, tag, or commit
--pathPath to the sanitized manifests

Common optional flags:

FlagPurpose
--application-nameOverride the generated Application name
--projectOverride the Argo CD project
--argo-namespaceOverride the Argo CD control-plane namespace
--destination-namespaceOverride the destination namespace
--sync-modeSet manual or automated
--create-namespaceAdd CreateNamespace=true sync option