mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 12:11:28 +00:00
kubernetes: fix generated kubeconfig
The absence of current-context in the right place resulted in obscure bugs. The reason this has not been detected before can only be that it was unused.
This commit is contained in:
parent
346f68bf71
commit
13750b25a5
|
@ -48,8 +48,9 @@ let
|
|||
cluster = "local";
|
||||
user = name;
|
||||
};
|
||||
current-context = "local";
|
||||
name = "local";
|
||||
}];
|
||||
current-context = "local";
|
||||
});
|
||||
|
||||
caCert = secret "ca";
|
||||
|
|
Loading…
Reference in a new issue