1
0
Fork 1
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:
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";
user = name;
};
current-context = "local";
name = "local";
}];
current-context = "local";
});
caCert = secret "ca";