1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen 2022-03-02 07:31:55 +02:00
parent ad1776d101
commit 77f06ba503

View File

@ -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)),