-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Open
Labels
bugSomething isn't workingSomething isn't workingcomponent:cliIssue related to the Argo CD CLIIssue related to the Argo CD CLItriage/pendingThis issue needs further triage to be correctly classifiedThis issue needs further triage to be correctly classified
Description
Checklist:
- I've searched in the docs and FAQ for my answer: https://bit.ly/argocd-faq.
- I've included steps to reproduce the bug.
- I've pasted the output of
argocd version.
Describe the bug
Some argocd commands display Kubernetes REST / kubectl flags such as --disable-compression in --help, but passing these flags results in unknown flag errors at runtime. This is confusing for users and suggests functionality that is not actually supported. For eg. #25842
> argocd cluster -h
Flags:
--as string Username to impersonate for the operation
--as-group stringArray Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
--as-uid string UID to impersonate for the operation
--certificate-authority string Path to a cert file for the certificate authority
--client-certificate string Path to a client certificate file for TLS
--client-key string Path to a client key file for TLS
--cluster string The name of the kubeconfig cluster to use
--context string The name of the kubeconfig context to use
--disable-compression If true, opt-out of response compression for all requests to the server❯ argocd cluster --disable-compression list
Error: unknown flag: --disable-compressionTo Reproduce
Execute the following command:
❯ argocd cluster --disable-compression list
Error: unknown flag: --disable-compressionExpected behavior
Either:
- The flag should work as advertised, or
- The flag should not be shown in the CLI help output
Version
argocd: v3.2.0-rc4+1963030
BuildDate: 2025-10-21T19:55:52Z
GitCommit: 1963030721f03983137116fcff1aeb8e165453eb
GitTreeState: clean
GoVersion: go1.25.0 Compiler: gc
Platform: darwin/arm64choejwoo, kwentine, HyejunKoo, bianbbc87 and nitishfy
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcomponent:cliIssue related to the Argo CD CLIIssue related to the Argo CD CLItriage/pendingThis issue needs further triage to be correctly classifiedThis issue needs further triage to be correctly classified