argoproj / argo-cd

Declarative Continuous Deployment for Kubernetes
https://argo-cd.readthedocs.io
Apache License 2.0
17.81k stars 5.44k forks source link

Add Kubectl Option support like disable-compression #19259

Closed darkradish closed 3 weeks ago

darkradish commented 3 months ago

Summary

For my needs, i want to add option --disable-compression to my cluster configuration ( https://kubernetes.io/docs/reference/config-api/kubeconfig.v1/#Cluster) i see no option to doing that on my cluster contfiguration

Motivation

Support all of kubectl feature

Proposal

in cluster secret (or cli) add

server: xxx
bearerToken: xxx
context_option : {
 "disable-compression": true
}

and pass it to kubectl context

nikzayn commented 2 months ago

Hey @darkradish, Can I take this up?

darkradish commented 2 months ago

Hello @nikzayn , yes you can

OpenGuidou commented 1 month ago

Hi @nikzayn , did you progress with this issue ?

nikzayn commented 1 month ago

I have done the code changes, I will raise a PR by today. No worries!

OpenGuidou commented 3 weeks ago

Hi @nikzayn, Would you need some help about that change ?