mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-20 01:05:19 +01:00
Merge pull request #8561 from bitsf/tag_retention_update_ui
remove rule always
This commit is contained in:
commit
0fd375c7a8
@ -88,18 +88,6 @@ func (r *RetentionAPI) GetMetadatas() {
|
|||||||
"required": true
|
"required": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
|
||||||
{
|
|
||||||
"rule_template": "always",
|
|
||||||
"display_text": "always",
|
|
||||||
"action": "retain",
|
|
||||||
"params": [
|
|
||||||
{
|
|
||||||
"type": "int",
|
|
||||||
"unit": "COUNT",
|
|
||||||
"required": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"scope_selectors": [
|
"scope_selectors": [
|
||||||
|
@ -1095,7 +1095,7 @@
|
|||||||
"ADD_SYSTEM": "ADD SYSTEM"
|
"ADD_SYSTEM": "ADD SYSTEM"
|
||||||
},
|
},
|
||||||
"TAG_RETENTION": {
|
"TAG_RETENTION": {
|
||||||
"TAG_RETENTION": "Tag Retention Policy",
|
"TAG_RETENTION": "Tag Retention",
|
||||||
"RETENTION_RULES": "Retention rules",
|
"RETENTION_RULES": "Retention rules",
|
||||||
"RULE_NAME_1": " the images from the last {{number}} days",
|
"RULE_NAME_1": " the images from the last {{number}} days",
|
||||||
"RULE_NAME_2": " the most recent active {{number}} images",
|
"RULE_NAME_2": " the most recent active {{number}} images",
|
||||||
|
@ -1093,7 +1093,7 @@
|
|||||||
"ADD_SYSTEM": "ADD SYSTEM"
|
"ADD_SYSTEM": "ADD SYSTEM"
|
||||||
},
|
},
|
||||||
"TAG_RETENTION": {
|
"TAG_RETENTION": {
|
||||||
"TAG_RETENTION": "Tag Retention Policy",
|
"TAG_RETENTION": "Tag Retention",
|
||||||
"RETENTION_RULES": "Retention rules",
|
"RETENTION_RULES": "Retention rules",
|
||||||
"RULE_NAME_1": " the images from the last {{number}} days",
|
"RULE_NAME_1": " the images from the last {{number}} days",
|
||||||
"RULE_NAME_2": " the most recent active {{number}} images",
|
"RULE_NAME_2": " the most recent active {{number}} images",
|
||||||
|
@ -1065,7 +1065,7 @@
|
|||||||
"ADD_SYSTEM": "ADD SYSTEM"
|
"ADD_SYSTEM": "ADD SYSTEM"
|
||||||
},
|
},
|
||||||
"TAG_RETENTION": {
|
"TAG_RETENTION": {
|
||||||
"TAG_RETENTION": "Tag Retention Policy",
|
"TAG_RETENTION": "Tag Retention",
|
||||||
"RETENTION_RULES": "Retention rules",
|
"RETENTION_RULES": "Retention rules",
|
||||||
"RULE_NAME_1": " the images from the last {{number}} days",
|
"RULE_NAME_1": " the images from the last {{number}} days",
|
||||||
"RULE_NAME_2": " the most recent active {{number}} images",
|
"RULE_NAME_2": " the most recent active {{number}} images",
|
||||||
|
@ -1090,7 +1090,7 @@
|
|||||||
"ADD_SYSTEM": "ADD SYSTEM"
|
"ADD_SYSTEM": "ADD SYSTEM"
|
||||||
},
|
},
|
||||||
"TAG_RETENTION": {
|
"TAG_RETENTION": {
|
||||||
"TAG_RETENTION": "Tag Retention Policy",
|
"TAG_RETENTION": "Tag Retention",
|
||||||
"RETENTION_RULES": "Retention rules",
|
"RETENTION_RULES": "Retention rules",
|
||||||
"RULE_NAME_1": " the images from the last {{number}} days",
|
"RULE_NAME_1": " the images from the last {{number}} days",
|
||||||
"RULE_NAME_2": " the most recent active {{number}} images",
|
"RULE_NAME_2": " the most recent active {{number}} images",
|
||||||
|
@ -1091,7 +1091,7 @@
|
|||||||
"ADD_SYSTEM": "添加系统白名单"
|
"ADD_SYSTEM": "添加系统白名单"
|
||||||
},
|
},
|
||||||
"TAG_RETENTION": {
|
"TAG_RETENTION": {
|
||||||
"TAG_RETENTION": "Tag保留策略",
|
"TAG_RETENTION": "Tag保留",
|
||||||
"RETENTION_RULES": "保留规则",
|
"RETENTION_RULES": "保留规则",
|
||||||
"RULE_NAME_1": "最近{{number}}天的镜像",
|
"RULE_NAME_1": "最近{{number}}天的镜像",
|
||||||
"RULE_NAME_2": "最近活跃的{{number}}个镜像",
|
"RULE_NAME_2": "最近活跃的{{number}}个镜像",
|
||||||
|
Loading…
Reference in New Issue
Block a user