mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1 parent
ad1776d101
commit
77f06ba503
1 file changed
+4
-1
@@ -10,7 +10,10 @@ const getKubeAuthProxyCertDirInjectable = getInjectable({
|
||||
id: "get-kube-auth-proxy-cert-dir",
|
||||
|
||||
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)),
|
||||
|
||||
Reference in new issue
Block a user