travisghansen / kubernetes-client-php

No nonsense PHP Client for the Kubernetes API
Apache License 2.0
33 stars 10 forks source link

Feature/token in kubecfg support #1

Closed willnewby closed 5 years ago

willnewby commented 5 years ago

When you create a kubecfg from a ServiceAccount (like so https://gist.github.com/willnewby/7a1866147e036c0cfbd26b05efba9d70 for testing, etc) it sets a token field that wasn't used before. This includes that token in the config for making requests.

travisghansen commented 5 years ago

Looks good! Thanks for the contribution.