From 292518a0b50825a82f12dc3fb10f53f3382c489f Mon Sep 17 00:00:00 2001 From: weibaohui Date: Tue, 15 Oct 2024 22:09:53 +0800 Subject: [PATCH] =?UTF-8?q?CRD=E5=88=97=E8=A1=A8=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E5=AE=9E=E4=BE=8B=E6=9F=A5=E7=9C=8B=E5=8A=9F=E8=83=BD=E5=9C=A8?= =?UTF-8?q?CRD=E5=88=97=E8=A1=A8=E7=9A=84=E5=B1=95=E7=A4=BA=E4=B8=AD?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BA=86=E4=B8=80=E4=B8=AA=E6=8C=89=E9=92=AE?= =?UTF-8?q?=EF=BC=8C=E5=85=81=E8=AE=B8=E7=94=A8=E6=88=B7=E9=80=9A=E8=BF=87?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E7=9B=B4=E6=8E=A5=E6=9F=A5=E7=9C=8B=E7=89=B9?= =?UTF-8?q?=E5=AE=9A=E5=AE=9E=E4=BE=8B=E3=80=82=E8=BF=99=E4=B8=AA=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E6=94=B9=E8=BF=9B=E4=BD=BF=E5=BE=97=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E8=83=BD=E5=A4=9F=E6=9B=B4=E6=96=B9=E4=BE=BF=E5=9C=B0=E8=AE=BF?= =?UTF-8?q?=E9=97=AE=E5=92=8C=E7=AE=A1=E7=90=86CRD=E8=B5=84=E6=BA=90?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/pages/crd/crd.json | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/assets/pages/crd/crd.json b/assets/pages/crd/crd.json index 6cbcde9..988aae2 100644 --- a/assets/pages/crd/crd.json +++ b/assets/pages/crd/crd.json @@ -170,6 +170,13 @@ } ] } + }, + { + "type": "button", + "icon": "fas fa-list text-success", + "actionType": "link", + "tooltip": "查看实例", + "link": "/crd/${spec.scope=='Namespaced'?'namespaced_cr':'cluster_cr'}?kind=${spec.names.kind}&group=${spec.group}" } ], "toggled": true @@ -180,10 +187,11 @@ "type": "text" }, { - "name": "metadata.labels", - "label": "labels", - "type": "k8sLabels" + "name": "spec.scope", + "label": "name", + "type": "text" }, + { "name": "metadata.creationTimestamp", "label": "age",