Argocd Create Application
argocd_create_applicationCreate an Argo CD application from flattened parameters. Set upsert=true to update existing applications idempotently.
Instructions
Create an application from flattened parameters. Use patch for anything this does not cover.
Returns the created application, slim. Idempotent only with upsert=True.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | New application name | |
| path | No | Path within the repo (or use chart) | |
| chart | No | Helm chart name (or use path) | |
| prune | No | Prune on auto-sync (needs auto_sync) | |
| labels | No | Application labels | |
| upsert | No | Update if it already exists | |
| project | Yes | Project to create it in | |
| repo_url | Yes | Source repository URL | |
| validate | No | Validate the manifests | |
| auto_sync | No | Enable automated sync | |
| dest_name | No | Destination cluster name | |
| self_heal | No | Self-heal on drift (needs auto_sync) | |
| dest_server | No | Destination cluster API URL | |
| sync_options | No | Sync options list | |
| app_namespace | No | Override appNamespace; defaults to ARGOCD_APP_NAMESPACE | |
| dest_namespace | No | Destination namespace | |
| helm_parameters | No | Helm params as k=v | |
| target_revision | No | Branch, tag, or chart version | HEAD |
| create_namespace | No | Add CreateNamespace=true | |
| helm_value_files | No | Helm value file paths | |
| kustomize_images | No | Kustomize image overrides | |
| helm_release_name | No | Helm release name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |