Thanks to visit codestin.com
Credit goes to github.com

Skip to content

need support load_kube_config_data() #1213

Closed
@onecer

Description

@onecer

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.

  1. read kubeconfig from mysql
  2. store it to disk /tmp/xxx.
  3. 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')

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions