mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
19 lines
723 B
TypeScript
19 lines
723 B
TypeScript
/**
|
|
* Copyright (c) OpenLens Authors. All rights reserved.
|
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
|
*/
|
|
import { getInjectable } from "@ogre-tools/injectable";
|
|
import { beforeApplicationIsLoadingInjectionToken } from "../runnable-tokens/before-application-is-loading-injection-token";
|
|
import injectSystemCAsInjectable from "../../../common/certificate-authorities/inject-system-cas.injectable";
|
|
|
|
const setupSystemCaInjectable = getInjectable({
|
|
id: "setup-system-ca",
|
|
instantiate: (di) => ({
|
|
id: "setup-system-ca",
|
|
run: di.inject(injectSystemCAsInjectable),
|
|
}),
|
|
injectionToken: beforeApplicationIsLoadingInjectionToken,
|
|
});
|
|
|
|
export default setupSystemCaInjectable;
|