update_application
Modify an ArgoCD application by updating its project, repository, path, destination, revision, or sync settings. Automate syncing, pruning, or self-healing, and validate changes for accuracy.
Instructions
Update an existing application in ArgoCD
Args:
name: The application name to update (required)
project: New project name (optional)
repo_url: New Git repository URL (optional)
path: New path within the repository (optional)
dest_server: New destination K8s API server URL (optional)
dest_namespace: New destination namespace (optional)
revision: New Git revision (optional)
automated_sync: Enable/disable automated sync (optional)
prune: Enable/disable auto-pruning resources (optional)
self_heal: Enable/disable self-healing (optional)
validate: Whether to validate the application
Returns:
The updated application details
Input Schema
Name | Required | Description | Default |
---|---|---|---|
automated_sync | No | ||
dest_namespace | No | ||
dest_server | No | ||
name | Yes | ||
path | No | ||
project | No | ||
prune | No | ||
repo_url | No | ||
revision | No | ||
self_heal | No | ||
validate | No |
Input Schema (JSON Schema)
{
"properties": {
"automated_sync": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Automated Sync"
},
"dest_namespace": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Dest Namespace"
},
"dest_server": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Dest Server"
},
"name": {
"title": "Name",
"type": "string"
},
"path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Path"
},
"project": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Project"
},
"prune": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Prune"
},
"repo_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Repo Url"
},
"revision": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Revision"
},
"self_heal": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Self Heal"
},
"validate": {
"default": true,
"title": "Validate",
"type": "boolean"
}
},
"required": [
"name"
],
"title": "update_applicationArguments",
"type": "object"
}