Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow configuration from kubectl config file #4

Open
sebastien-prudhomme opened this issue Oct 4, 2018 · 0 comments
Open

Allow configuration from kubectl config file #4

sebastien-prudhomme opened this issue Oct 4, 2018 · 0 comments

Comments

@sebastien-prudhomme
Copy link

I find that the configuration of the provider or the cluster is not that easy.

It should be better to allow reusing kubectl config file for provider or cluster configuration:

  • by default the filename is $HOME/.kube/config (should be a parameter)
  • by default it uses the "current-context' in the config file (should be also a parameter)
  • you can also override cluster and user names

See options in kubectl:

      --cluster='': The name of the kubeconfig cluster to use
      --context='': The name of the kubeconfig context to use
      --kubeconfig='': Path to the kubeconfig file to use for CLI requests.
      --user='': The name of the kubeconfig user to use
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant