1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Catalog entity WebLink.kind 'KubernetesCluster' > 'WebLink'

Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
This commit is contained in:
Hung-Han (Henry) Chen 2021-05-18 13:19:21 +03:00
parent 752f49821a
commit c589a9a7f3
No known key found for this signature in database
GPG Key ID: 54B44603D251B788

View File

@ -32,7 +32,7 @@ export type WebLinkSpec = {
export class WebLink extends CatalogEntity<CatalogEntityMetadata, WebLinkStatus, WebLinkSpec> {
public readonly apiVersion = "entity.k8slens.dev/v1alpha1";
public readonly kind = "KubernetesCluster";
public readonly kind = "WebLink";
async onRun() {
window.open(this.spec.url, "_blank");