avionix icon indicating copy to clipboard operation
avionix copied to clipboard

Example using token auth?

Open jacobeatsspam opened this issue 5 years ago • 3 comments

I'm struggling to figure out how to auth. Is there an easy example for using a token?

jacobeatsspam avatar Nov 15 '20 00:11 jacobeatsspam

@jacobisaliveandwell Do you have helm installed? This package wraps around the helm CLI so any authentication taking place will happen in your kubeconfig

zbrookle avatar Nov 15 '20 01:11 zbrookle

@zbrookle That sort of answers my question. I was looking specifically to avoid configuring kubectl and use a pure python approach. I assumed that would just translate to a bunch of helm flags (e.g. --kube-token) but sounds like that's not possible?

jacobeatsspam avatar Nov 15 '20 14:11 jacobeatsspam

@jacobisaliveandwell Hmm I see. So I've personally never done that with helm, but you can find the documentation for passing in helm flags using avionix here. And if you can pass in the auth with helm, you should be able to do that here as well

zbrookle avatar Nov 17 '20 01:11 zbrookle