Skip to content

Commit

Permalink
refactor: 将 metadata.name 字段的标签统一修改为"名称"
Browse files Browse the repository at this point in the history
- 修改了多个 JSON 文件中的 metadata.name 字段标签
-将英文" name"统一替换为中文"名称"
- 涉及集群、命名空间、CRD 等多种资源类型
  • Loading branch information
weibaohui committed Dec 25, 2024
1 parent 9831d1f commit bec9e02
Show file tree
Hide file tree
Showing 45 changed files with 45 additions and 45 deletions.
2 changes: 1 addition & 1 deletion assets/pages/cluster/api_service.json
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/cluster/cluster_role.json
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/cluster/cluster_role_binding.json
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/cluster/component_status.json
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/cluster/csi_node.json
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/cluster/flow_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/cluster/ingress_class.json
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/cluster/mutating_webhook.json
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/cluster/node.json
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/cluster/ns.json
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/cluster/priority_class.json
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/cluster/priority_level_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/cluster/pv.json
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/cluster/runtime_class.json
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/cluster/storage_class.json
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/cluster/validation_webhook.json
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/crd/cluster_cr.json
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/crd/crd.json
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/crd/crontab.json
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/crd/namespaced_cr.json
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/ns/configmap.json
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/ns/cronjob.json
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/ns/daemonset.json
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/ns/deploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/ns/endpoint.json
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/ns/endpointslice.json
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/ns/event.json
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/ns/hpa.json
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/ns/ing.json
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/ns/job.json
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/ns/lease.json
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/ns/limit_range.json
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/ns/network_policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/ns/pdb.json
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/ns/pod.json
Original file line number Diff line number Diff line change
Expand Up @@ -1062,7 +1062,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/ns/pvc.json
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/ns/rc.json
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/ns/replicaset.json
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/ns/resource_quota.json
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/ns/role.json
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/ns/role_binding.json
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/ns/secret.json
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/ns/service_account.json
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
2 changes: 1 addition & 1 deletion assets/pages/ns/statefulset.json
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,7 @@
},
{
"name": "metadata.name",
"label": "name",
"label": "名称",
"type": "text",
"copyable": true,
"searchable": {
Expand Down
Loading

0 comments on commit bec9e02

Please sign in to comment.