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:
| Flag | Purpose |
|---|---|
--repo-url | Git repository URL |
--revision | Git branch, tag, or commit |
--path | Path to the sanitized manifests |
Common optional flags:
| Flag | Purpose |
|---|---|
--application-name | Override the generated Application name |
--project | Override the Argo CD project |
--argo-namespace | Override the Argo CD control-plane namespace |
--destination-namespace | Override the destination namespace |
--sync-mode | Set manual or automated |
--create-namespace | Add CreateNamespace=true sync option |