mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
cleanup
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
ad1776d101
commit
77f06ba503
@ -10,7 +10,10 @@ const getKubeAuthProxyCertDirInjectable = getInjectable({
|
|||||||
id: "get-kube-auth-proxy-cert-dir",
|
id: "get-kube-auth-proxy-cert-dir",
|
||||||
|
|
||||||
setup: async (di) => {
|
setup: async (di) => {
|
||||||
await createKubeAuthProxyCertificateFiles(getKubeAuthProxyCertificatePath(await di.inject(directoryForUserDataInjectable)));
|
const userData = await di.inject(directoryForUserDataInjectable);
|
||||||
|
const certPath = getKubeAuthProxyCertificatePath(userData);
|
||||||
|
|
||||||
|
await createKubeAuthProxyCertificateFiles(certPath);
|
||||||
},
|
},
|
||||||
|
|
||||||
instantiate: (di) => getKubeAuthProxyCertificatePath(di.inject(directoryForUserDataInjectable)),
|
instantiate: (di) => getKubeAuthProxyCertificatePath(di.inject(directoryForUserDataInjectable)),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user