anowell / kubeclient-rs

Kubernetes API client in Rust
MIT License
30 stars 12 forks source link

Add support for Basic and Bearer Token auth. #6

Closed ndenev closed 6 years ago

ndenev commented 6 years ago

This add support for Basic Auth, and Token Auth. Also allows certificates and keys to be read from file. My Rust has become slightly rusty and this might be uglier than necessary, so I'm open for suggestions.

anowell commented 6 years ago

Awesome! I was definitely hoping to see more auth support. I'll dig into the details and hopefully get this merged in the next day or two.

anowell commented 6 years ago

Merged. I haven't really gotten to play with this as much as I liked (our k8s cluster is a bit outdated for this client - that will change soon), but I'm good with merging this now, and I'll revisit and clean up anything I need once I have an updated cluster to test with.