akuity_argocd_addon_cluster-customization_update
akuity argocd addon cluster-customization update
Update a cluster customization by index
akuity argocd addon cluster-customization update <addon-id> <index> [flags]
Selector flags (--name-in, --name-not-in, --label-in, --label-not-in) append new filter entries to the existing cluster selector. Use --clear-name-filters or --clear-label-filters to remove existing filters before adding new ones. Use --all-clusters to clear the entire selector.
Examples
# Update the patch file only (selector unchanged)
akuity argocd addon cluster-customization update \
--organization-name=<name> \
--instance-name=<name> \
--patch-file=patch.yaml \
<addon-id> <index>
# Append a new label filter without touching existing filters
akuity argocd addon cluster-customization update \
--organization-name=<name> \
--instance-name=<name> \
--label-not-in=env=staging \
<addon-id> <index>
# Replace name filters: clear existing, add new
akuity argocd addon cluster-customization update \
--organization-name=<name> \
--instance-name=<name> \
--clear-name-filters \
--name-in=prod-cluster \
<addon-id> <index>
Options
--all-clusters Clear the entire cluster selector, applying to all clusters
--clear-label-filters Remove all existing label filters (can be combined with --label-in/--label-not-in to replace)
--clear-name-filters Remove all existing name filters (can be combined with --name-in/--name-not-in to replace)
--description string New description
-h, --help help for update
--instance-id string ArgoCD instance ID
--instance-name string ArgoCD instance name
--label-in stringArray Append a label IN filter: key=val1[,val2] (repeatable)
--label-not-in stringArray Append a label NOT IN filter: key=val1[,val2] (repeatable)
--name-in strings Append a name IN filter (comma-separated cluster names)
--name-not-in strings Append a name NOT IN filter (comma-separated cluster names)
--org-id string Alias for organization-id
--org-name string Alias for organization-name
--organization-id string Akuity cloud organization ID
--organization-name string Akuity cloud organization name
-o, --output string Output format. One of (json, yaml, wide) (default "wide")
--patch-file string Path to a YAML or JSON file with the updated patch
Options inherited from parent commands
--insecure-skip-tls-verify If true, the server's certificate will not be checked for validity
--no-color Disable colored output (default true)
--server string The server url of the Akuity cloud (default "https://akuity.cloud")
SEE ALSO
- akuity argocd addon cluster-customization - Manage cluster customizations for an addon