Skip to content

Commit

Permalink
refactor(ns): 优化 PVC 页面的字段标签
Browse files Browse the repository at this point in the history
- 将 "request" 标签改为 "申请容量"
- 将 "capacity" 标签改为 "存储容积"
- 将 "mode"标签改为 "访问模式"
- 将 "StorageClass" 标签改为 "存储类名称"
- 将 "volumeMode" 标签改为 "卷模式"
  • Loading branch information
weibaohui committed Dec 25, 2024
1 parent 3941cc9 commit 6fc4ffd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions assets/pages/ns/pvc.json
Original file line number Diff line number Diff line change
Expand Up @@ -651,30 +651,30 @@
},
{
"name": "request",
"label": "request",
"label": "申请容量",
"type": "tpl",
"tpl": "${spec.resources.requests.storage}"
},
{
"name": "capacity",
"label": "capacity",
"label": "存储容积",
"type": "tpl",
"tpl": "${status.capacity.storage}"
},
{
"name": "spec.accessModes",
"label": "mode",
"label": "访问模式",
"type": "tpl",
"tpl": "${spec.accessModes| map }"
},
{
"name": "spec.storageClassName",
"label": "StorageClass",
"label": "存储类名称",
"type": "text"
},
{
"name": "spec.volumeMode",
"label": "volumeMode",
"label": "卷模式",
"type": "text"
},

Expand Down

0 comments on commit 6fc4ffd

Please sign in to comment.