argocd appset commands accept --appset-namespace
Introduced 2026-08-04 · score 0.95
HOW TO USE IT
When creating or generating an ApplicationSet, use `-N` / `--appset-namespace` only if its manifest omits `metadata.namespace`; the manifest namespace takes precedence. For get or delete, use the flag to select a namespace, unless the name is qualified as `namespace/name`, which takes precedence.
argocd appset create --appset-namespace=<APPSET_NAMESPACE> <filename-or-URL> [<filename-or-URL>...]argocd appset generate --appset-namespace=<APPSET_NAMESPACE> <filename-or-URL>argocd appset get --appset-namespace=<APPSET_NAMESPACE> <APPSETNAME>
argocd appset delete --appset-namespace=<APPSET_NAMESPACE> <APPSETNAME>
argocd appset get <APPSET_NAMESPACE>/<APPSETNAME>
argocd appset delete <APPSET_NAMESPACE>/<APPSETNAME>WHY THIS HELPS
Create, get, generate, or delete an ApplicationSet in a selected namespace.
BEFORE THIS CHANGE
Specify the namespace in a file or use the `appset-namespace/appset-name` qualified-name format.
REQUIREMENTS AND LIMITATIONS
- Version: v3.5.0
- -N, --appset-namespace <string>: Namespace where the ApplicationSet is created or generated, or namespace to query/delete from. For create/generate, ignored when YAML metadata contains namespace; for get/delete, ignored when the name is qualified.
- <filename-or-URL> (required): File or URL containing the ApplicationSet manifest for create; manifest input for generate.
- <APPSETNAME> (required): ApplicationSet name; accepts `namespace/name` to specify the namespace directly.
- The flag is ignored for get and delete when a qualified name is provided.
- For create and generate, the flag applies only when the manifest omits `metadata.namespace`.
FIRST-PARTY EVIDENCE
- https://github.com/argoproj/argo-cd/releases/tag/v3.5.0
- https://github.com/argoproj/argo-cd/pull/27022
- https://argo-cd.readthedocs.io/en/release-3.5/user-guide/commands/argocd_appset_create/
- https://argo-cd.readthedocs.io/en/release-3.5/user-guide/commands/argocd_appset_generate/
- https://argo-cd.readthedocs.io/en/release-3.5/user-guide/commands/argocd_appset/
- https://argo-cd.readthedocs.io/en/release-3.5/user-guide/commands/argocd_appset_get/
Check the installed version and the source before using it. Entry JSON