Closed
Description
What is the feature and why do you need it:
I creating a simply k8s tools to mange that for my customers. They have diffrence cluster.
I want to store kubeconfig in mysql, manage mutilple k8s cluster.
from now just have two way too create a client.
- load_kube_config(). -- load kubeconfig fron file
- client.Configuration() -- use token
I think that kubeconfig is easy to config. Its friendly for my users.
here is my program process steps.
- read kubeconfig from mysql
- store it to disk /tmp/xxx.
- load_kube_config(/tmp/xxx)
Describe the solution you'd like to see:
support set kubeconfig from strings. like load_kube_config_data(data='kubeconfig data')