3
0
Fork 0
forked from mirrors/nixpkgs

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:
David Arnold 2021-05-20 16:52:08 -04:00 committed by Jonathan Ringer
parent 346f68bf71
commit 13750b25a5

View file

@ -48,8 +48,9 @@ let
cluster = "local"; cluster = "local";
user = name; user = name;
}; };
current-context = "local"; name = "local";
}]; }];
current-context = "local";
}); });
caCert = secret "ca"; caCert = secret "ca";