kube-gen
kube-gen copied to clipboard
[feat] Use In Cluster Config to remove dependency on a kubectl container running kubectl proxy when running pod inside a K8s Cluster
When running inside a pod , with service account tokem kubenetes clients can use InClusterConfig
// kubernetes gives to pods. It's intended for clients that expect to be
// running inside a pod running on kubernetes. It will return ErrNotInCluster
// if called from a process not running in a kubernetes environment.
This obliterates the need to include a kubectl container for running kubectl proxy
@kylemcc can you please have a look
Thanks! I'll take a look this weekend
🧟 any possibility that this will just merge and work after 18 months? @kylemcc
🧟 any possibility that this will just merge and work after 18 months? @kylemcc
Let's find out...
Thanks! @kylemcc