From bec9e0241cfbd85292cc20e2828fcf2bb1b703bf Mon Sep 17 00:00:00 2001 From: weibaohui Date: Wed, 25 Dec 2024 10:11:47 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E5=B0=86=20metadata.name=20?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E7=9A=84=E6=A0=87=E7=AD=BE=E7=BB=9F=E4=B8=80?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=BA"=E5=90=8D=E7=A7=B0"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修改了多个 JSON 文件中的 metadata.name 字段标签 -将英文" name"统一替换为中文"名称" - 涉及集群、命名空间、CRD 等多种资源类型 --- assets/pages/cluster/api_service.json | 2 +- assets/pages/cluster/cluster_role.json | 2 +- assets/pages/cluster/cluster_role_binding.json | 2 +- assets/pages/cluster/component_status.json | 2 +- assets/pages/cluster/csi_node.json | 2 +- assets/pages/cluster/flow_schema.json | 2 +- assets/pages/cluster/ingress_class.json | 2 +- assets/pages/cluster/mutating_webhook.json | 2 +- assets/pages/cluster/node.json | 2 +- assets/pages/cluster/ns.json | 2 +- assets/pages/cluster/priority_class.json | 2 +- assets/pages/cluster/priority_level_config.json | 2 +- assets/pages/cluster/pv.json | 2 +- assets/pages/cluster/runtime_class.json | 2 +- assets/pages/cluster/storage_class.json | 2 +- assets/pages/cluster/validation_webhook.json | 2 +- assets/pages/crd/cluster_cr.json | 2 +- assets/pages/crd/crd.json | 2 +- assets/pages/crd/crontab.json | 2 +- assets/pages/crd/namespaced_cr.json | 2 +- assets/pages/ns/configmap.json | 2 +- assets/pages/ns/cronjob.json | 2 +- assets/pages/ns/daemonset.json | 2 +- assets/pages/ns/deploy.json | 2 +- assets/pages/ns/endpoint.json | 2 +- assets/pages/ns/endpointslice.json | 2 +- assets/pages/ns/event.json | 2 +- assets/pages/ns/hpa.json | 2 +- assets/pages/ns/ing.json | 2 +- assets/pages/ns/job.json | 2 +- assets/pages/ns/lease.json | 2 +- assets/pages/ns/limit_range.json | 2 +- assets/pages/ns/network_policy.json | 2 +- assets/pages/ns/pdb.json | 2 +- assets/pages/ns/pod.json | 2 +- assets/pages/ns/pvc.json | 2 +- assets/pages/ns/rc.json | 2 +- assets/pages/ns/replicaset.json | 2 +- assets/pages/ns/resource_quota.json | 2 +- assets/pages/ns/role.json | 2 +- assets/pages/ns/role_binding.json | 2 +- assets/pages/ns/secret.json | 2 +- assets/pages/ns/service_account.json | 2 +- assets/pages/ns/statefulset.json | 2 +- assets/pages/ns/svc.json | 2 +- 45 files changed, 45 insertions(+), 45 deletions(-) diff --git a/assets/pages/cluster/api_service.json b/assets/pages/cluster/api_service.json index e3b2f3f..5b14a5f 100644 --- a/assets/pages/cluster/api_service.json +++ b/assets/pages/cluster/api_service.json @@ -424,7 +424,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/cluster/cluster_role.json b/assets/pages/cluster/cluster_role.json index ec7fe05..7ac4ffc 100644 --- a/assets/pages/cluster/cluster_role.json +++ b/assets/pages/cluster/cluster_role.json @@ -426,7 +426,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/cluster/cluster_role_binding.json b/assets/pages/cluster/cluster_role_binding.json index fe9bb68..6cbcc8c 100644 --- a/assets/pages/cluster/cluster_role_binding.json +++ b/assets/pages/cluster/cluster_role_binding.json @@ -426,7 +426,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/cluster/component_status.json b/assets/pages/cluster/component_status.json index 542572b..a393902 100644 --- a/assets/pages/cluster/component_status.json +++ b/assets/pages/cluster/component_status.json @@ -225,7 +225,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/cluster/csi_node.json b/assets/pages/cluster/csi_node.json index 1a09f5d..e5be65f 100644 --- a/assets/pages/cluster/csi_node.json +++ b/assets/pages/cluster/csi_node.json @@ -424,7 +424,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/cluster/flow_schema.json b/assets/pages/cluster/flow_schema.json index 689b534..bd0b8da 100644 --- a/assets/pages/cluster/flow_schema.json +++ b/assets/pages/cluster/flow_schema.json @@ -424,7 +424,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/cluster/ingress_class.json b/assets/pages/cluster/ingress_class.json index 82d3341..c6cd8c8 100644 --- a/assets/pages/cluster/ingress_class.json +++ b/assets/pages/cluster/ingress_class.json @@ -424,7 +424,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/cluster/mutating_webhook.json b/assets/pages/cluster/mutating_webhook.json index f92f52a..af0e036 100644 --- a/assets/pages/cluster/mutating_webhook.json +++ b/assets/pages/cluster/mutating_webhook.json @@ -424,7 +424,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/cluster/node.json b/assets/pages/cluster/node.json index c9a84aa..f7cd20c 100644 --- a/assets/pages/cluster/node.json +++ b/assets/pages/cluster/node.json @@ -575,7 +575,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/cluster/ns.json b/assets/pages/cluster/ns.json index 4b4e603..e3cdb1a 100644 --- a/assets/pages/cluster/ns.json +++ b/assets/pages/cluster/ns.json @@ -424,7 +424,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/cluster/priority_class.json b/assets/pages/cluster/priority_class.json index f9d3391..3518905 100644 --- a/assets/pages/cluster/priority_class.json +++ b/assets/pages/cluster/priority_class.json @@ -424,7 +424,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/cluster/priority_level_config.json b/assets/pages/cluster/priority_level_config.json index 34a8a4e..29c4245 100644 --- a/assets/pages/cluster/priority_level_config.json +++ b/assets/pages/cluster/priority_level_config.json @@ -424,7 +424,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/cluster/pv.json b/assets/pages/cluster/pv.json index 71fd9e3..4c56624 100644 --- a/assets/pages/cluster/pv.json +++ b/assets/pages/cluster/pv.json @@ -551,7 +551,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/cluster/runtime_class.json b/assets/pages/cluster/runtime_class.json index 5cd5c16..760da0c 100644 --- a/assets/pages/cluster/runtime_class.json +++ b/assets/pages/cluster/runtime_class.json @@ -424,7 +424,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/cluster/storage_class.json b/assets/pages/cluster/storage_class.json index 12b6c9a..f1f4756 100644 --- a/assets/pages/cluster/storage_class.json +++ b/assets/pages/cluster/storage_class.json @@ -424,7 +424,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/cluster/validation_webhook.json b/assets/pages/cluster/validation_webhook.json index bede5de..076e8ee 100644 --- a/assets/pages/cluster/validation_webhook.json +++ b/assets/pages/cluster/validation_webhook.json @@ -424,7 +424,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/crd/cluster_cr.json b/assets/pages/crd/cluster_cr.json index 40b2c06..96dd125 100644 --- a/assets/pages/crd/cluster_cr.json +++ b/assets/pages/crd/cluster_cr.json @@ -460,7 +460,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/crd/crd.json b/assets/pages/crd/crd.json index 9e87a85..6788686 100644 --- a/assets/pages/crd/crd.json +++ b/assets/pages/crd/crd.json @@ -468,7 +468,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/crd/crontab.json b/assets/pages/crd/crontab.json index 2dcb669..071236e 100644 --- a/assets/pages/crd/crontab.json +++ b/assets/pages/crd/crontab.json @@ -477,7 +477,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/crd/namespaced_cr.json b/assets/pages/crd/namespaced_cr.json index 1f282aa..83883fa 100644 --- a/assets/pages/crd/namespaced_cr.json +++ b/assets/pages/crd/namespaced_cr.json @@ -505,7 +505,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/ns/configmap.json b/assets/pages/ns/configmap.json index ff46e7b..13b8941 100644 --- a/assets/pages/ns/configmap.json +++ b/assets/pages/ns/configmap.json @@ -535,7 +535,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/ns/cronjob.json b/assets/pages/ns/cronjob.json index 64a86e6..fcfe820 100644 --- a/assets/pages/ns/cronjob.json +++ b/assets/pages/ns/cronjob.json @@ -625,7 +625,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/ns/daemonset.json b/assets/pages/ns/daemonset.json index d359ad7..0cb220e 100644 --- a/assets/pages/ns/daemonset.json +++ b/assets/pages/ns/daemonset.json @@ -736,7 +736,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/ns/deploy.json b/assets/pages/ns/deploy.json index 73aff3d..ca47b3c 100644 --- a/assets/pages/ns/deploy.json +++ b/assets/pages/ns/deploy.json @@ -821,7 +821,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/ns/endpoint.json b/assets/pages/ns/endpoint.json index 7c4d5f3..0ddf281 100644 --- a/assets/pages/ns/endpoint.json +++ b/assets/pages/ns/endpoint.json @@ -484,7 +484,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/ns/endpointslice.json b/assets/pages/ns/endpointslice.json index 74cccf8..2c2c196 100644 --- a/assets/pages/ns/endpointslice.json +++ b/assets/pages/ns/endpointslice.json @@ -481,7 +481,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/ns/event.json b/assets/pages/ns/event.json index d4f87cf..5510912 100644 --- a/assets/pages/ns/event.json +++ b/assets/pages/ns/event.json @@ -580,7 +580,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/ns/hpa.json b/assets/pages/ns/hpa.json index 2ca8c56..958bbcb 100644 --- a/assets/pages/ns/hpa.json +++ b/assets/pages/ns/hpa.json @@ -481,7 +481,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/ns/ing.json b/assets/pages/ns/ing.json index 0628688..0007fc2 100644 --- a/assets/pages/ns/ing.json +++ b/assets/pages/ns/ing.json @@ -609,7 +609,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/ns/job.json b/assets/pages/ns/job.json index 72d4968..0ddbc88 100644 --- a/assets/pages/ns/job.json +++ b/assets/pages/ns/job.json @@ -609,7 +609,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/ns/lease.json b/assets/pages/ns/lease.json index 78ead4d..497e48b 100644 --- a/assets/pages/ns/lease.json +++ b/assets/pages/ns/lease.json @@ -482,7 +482,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/ns/limit_range.json b/assets/pages/ns/limit_range.json index 89a91d8..370e9d6 100644 --- a/assets/pages/ns/limit_range.json +++ b/assets/pages/ns/limit_range.json @@ -482,7 +482,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/ns/network_policy.json b/assets/pages/ns/network_policy.json index 8df1a3b..c64f4b0 100644 --- a/assets/pages/ns/network_policy.json +++ b/assets/pages/ns/network_policy.json @@ -482,7 +482,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/ns/pdb.json b/assets/pages/ns/pdb.json index bf8d3bc..b6380b3 100644 --- a/assets/pages/ns/pdb.json +++ b/assets/pages/ns/pdb.json @@ -482,7 +482,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/ns/pod.json b/assets/pages/ns/pod.json index e6a99ab..47e9de1 100644 --- a/assets/pages/ns/pod.json +++ b/assets/pages/ns/pod.json @@ -1062,7 +1062,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/ns/pvc.json b/assets/pages/ns/pvc.json index b91c9d1..13629ff 100644 --- a/assets/pages/ns/pvc.json +++ b/assets/pages/ns/pvc.json @@ -609,7 +609,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/ns/rc.json b/assets/pages/ns/rc.json index a89abbc..ad48d1f 100644 --- a/assets/pages/ns/rc.json +++ b/assets/pages/ns/rc.json @@ -609,7 +609,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/ns/replicaset.json b/assets/pages/ns/replicaset.json index 7c691cf..2c11dfd 100644 --- a/assets/pages/ns/replicaset.json +++ b/assets/pages/ns/replicaset.json @@ -617,7 +617,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/ns/resource_quota.json b/assets/pages/ns/resource_quota.json index 07f86b9..4ec1f0d 100644 --- a/assets/pages/ns/resource_quota.json +++ b/assets/pages/ns/resource_quota.json @@ -482,7 +482,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/ns/role.json b/assets/pages/ns/role.json index bee2237..d65faa1 100644 --- a/assets/pages/ns/role.json +++ b/assets/pages/ns/role.json @@ -484,7 +484,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/ns/role_binding.json b/assets/pages/ns/role_binding.json index 5ef8bb0..75f397f 100644 --- a/assets/pages/ns/role_binding.json +++ b/assets/pages/ns/role_binding.json @@ -484,7 +484,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/ns/secret.json b/assets/pages/ns/secret.json index c91e783..c3ebc4f 100644 --- a/assets/pages/ns/secret.json +++ b/assets/pages/ns/secret.json @@ -482,7 +482,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/ns/service_account.json b/assets/pages/ns/service_account.json index 669dfc6..24f44a6 100644 --- a/assets/pages/ns/service_account.json +++ b/assets/pages/ns/service_account.json @@ -482,7 +482,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/ns/statefulset.json b/assets/pages/ns/statefulset.json index 2c503ce..c0f4640 100644 --- a/assets/pages/ns/statefulset.json +++ b/assets/pages/ns/statefulset.json @@ -761,7 +761,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": { diff --git a/assets/pages/ns/svc.json b/assets/pages/ns/svc.json index d0e5552..51e1cc6 100644 --- a/assets/pages/ns/svc.json +++ b/assets/pages/ns/svc.json @@ -609,7 +609,7 @@ }, { "name": "metadata.name", - "label": "name", + "label": "名称", "type": "text", "copyable": true, "searchable": {