mirror of
https://github.com/goharbor/harbor.git
synced 2024-10-04 16:27:34 +02:00
Merge pull request #8696 from bitsf/tag_retention_always_rule
add always rule again
This commit is contained in:
commit
98ca45c93a
@ -65,12 +65,6 @@ func (r *RetentionAPI) GetMetadatas() {
|
||||
"required": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"rule_template": "nothing",
|
||||
"display_text": "none",
|
||||
"action": "retain",
|
||||
"params": []
|
||||
},
|
||||
{
|
||||
"rule_template": "dayspl",
|
||||
@ -95,6 +89,18 @@ func (r *RetentionAPI) GetMetadatas() {
|
||||
"required": true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"rule_template": "nothing",
|
||||
"display_text": "none",
|
||||
"action": "retain",
|
||||
"params": []
|
||||
},
|
||||
{
|
||||
"rule_template": "always",
|
||||
"display_text": "always",
|
||||
"action": "retain",
|
||||
"params": []
|
||||
}
|
||||
],
|
||||
"scope_selectors": [
|
||||
|
Loading…
Reference in New Issue
Block a user