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

KUBECONFIG merges are not working #73

Open
fsniper opened this issue Aug 31, 2018 · 1 comment
Open

KUBECONFIG merges are not working #73

fsniper opened this issue Aug 31, 2018 · 1 comment

Comments

@fsniper
Copy link

fsniper commented Aug 31, 2018

kubectl has a feature to merge kubeconfigs on the fly via a KUBECONFIG env variable. This is not working with click.

How to reproduce:

$ export KUBECONFIG=cluster-merge:cluster-config:cluster2-config
$ kubectl config get-contexts
CURRENT NAME CLUSTER AUTHINFO NAMESPACE
* cluster1 cluster1 cluster1
cluster2 cluster2 cluster2
$ click
Could not open config file at 'xxxx/.kube/click.config': No such file or directory (os error 2). Using default values
Could not load kubernetes config: 'cluster-merge:cluster-config:cluster2-config'. Cannot continue.  Error was: entity not found
@kirikaza
Copy link

Looks like a duplicate of #49

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

2 participants