UNPKG

@kinvolk/headlamp-plugin

Version:

The needed infrastructure for building Headlamp plugins.

13 lines (11 loc) 303 B
import { ApiProxy } from '@kinvolk/headlamp-plugin/lib'; export async function isCertManagerInstalled(): Promise<boolean> { try { const response = await ApiProxy.request('/apis/cert-manager.io/v1', { method: 'GET', }); return !!response; } catch (error) { return false; } }