argo-client-python icon indicating copy to clipboard operation
argo-client-python copied to clipboard

[Request] ability to import kubernetes config

Open matt-carr opened this issue 4 years ago • 1 comments

I noticed that you removed the kubernetes configuration option in 4.0 (cool, removes the kubernetes dependency), but it would be nice if there was an ability in argo.workflows.client.configuration to load from a kubernetes Configuration file. I would imagine the desire to load the local kubernetes config is fairly common, and while you obviously want to keep the dependency out having a convenience method to sideload the argo config with a kubernetes config would make lives substantially easier :)

matt-carr avatar Dec 01 '20 21:12 matt-carr

ya I was debating about this before

I'll need to look into it, basically adding a helper function to generate Configuration from kubectl config

if you figured out how to do that before I do feel free to share or add a pr!

binarycrayon avatar Dec 01 '20 23:12 binarycrayon