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:
parent
346f68bf71
commit
13750b25a5
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue