mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Move to .spec
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
This commit is contained in:
6 files changed
+12
-11
No files matched your search
@@ -75,12 +75,11 @@ export function syncWeblinks() {
|
||||
uid: weblinkData.id,
|
||||
name: weblinkData.name,
|
||||
source: "local",
|
||||
labels: {
|
||||
triggerOnRunAfterOnClickDetailIcon: "true",
|
||||
}
|
||||
labels: {}
|
||||
},
|
||||
spec: {
|
||||
url: weblinkData.url
|
||||
url: weblinkData.url,
|
||||
triggerOnRunAfterOnClickDetailIcon: true,
|
||||
},
|
||||
status: {
|
||||
phase: "available",
|
||||
|
||||
@@ -261,7 +261,6 @@ export function catalogEntityFromCluster(cluster: Cluster) {
|
||||
name: cluster.name,
|
||||
source: "local",
|
||||
labels: {
|
||||
triggerOnRunAfterOnClickDetailIcon: "true",
|
||||
...cluster.labels,
|
||||
},
|
||||
distro: cluster.distribution,
|
||||
@@ -270,7 +269,8 @@ export function catalogEntityFromCluster(cluster: Cluster) {
|
||||
spec: {
|
||||
kubeconfigPath: cluster.kubeConfigPath,
|
||||
kubeconfigContext: cluster.contextName,
|
||||
icon: {}
|
||||
icon: {},
|
||||
triggerOnRunAfterOnClickDetailIcon: true,
|
||||
},
|
||||
status: {
|
||||
phase: cluster.disconnected ? "disconnected" : "connected",
|
||||
|
||||
Reference in new issue
Block a user