akuity_argocd_addon_cluster-customization_add
akuity argocd addon cluster-customization add
Add a cluster customization to an addon
akuity argocd addon cluster-customization add <addon-id> [flags]
Examples
# Apply to clusters whose name is in a list
akuity argocd addon cluster-customization add \
--organization-name=<name> \
--instance-name=<name> \
--description="Pin image tag for prod" \
--patch-file=patch.yaml \
--name-in=prod-cluster,staging-cluster \
<addon-id>
# Apply to clusters matching a label (env IN [prod, staging])
akuity argocd addon cluster-customization add \
--organization-name=<name> \
--instance-name=<name> \
--description="Override namespace" \
--patch-file=patch.yaml \
--label-in=env=prod,staging \
<addon-id>
# Apply to all clusters
akuity argocd addon cluster-customization add \
--organization-name=<name> \
--instance-name=<name> \
--description="Global override" \
--patch-file=patch.yaml \
--all-clusters \
<addon-id>
Options
--all-clusters Apply customization to all clusters (mutually exclusive with selector flags)
--description string Description of the cluster customization (required)
-h, --help help for add
--instance-id string ArgoCD instance ID
--instance-name string ArgoCD instance name
--label-in stringArray Label filter IN: key=val1[,val2] — cluster label key matches any value (repeatable)
--label-not-in stringArray Label filter NOT IN: key=val1[,val2] — cluster label key matches none of the values (repeatable)
--name-in strings Name filter: cluster name IN the given comma-separated list (repeatable)
--name-not-in strings Name filter: cluster name NOT IN the given comma-separated list (repeatable)
--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 containing the patch (required)
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