mirror of
https://github.com/goharbor/harbor.git
synced 2024-10-05 00:37:32 +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
|
"required": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
|
||||||
{
|
|
||||||
"rule_template": "nothing",
|
|
||||||
"display_text": "none",
|
|
||||||
"action": "retain",
|
|
||||||
"params": []
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"rule_template": "dayspl",
|
"rule_template": "dayspl",
|
||||||
@ -95,6 +89,18 @@ func (r *RetentionAPI) GetMetadatas() {
|
|||||||
"required": true
|
"required": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"rule_template": "nothing",
|
||||||
|
"display_text": "none",
|
||||||
|
"action": "retain",
|
||||||
|
"params": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"rule_template": "always",
|
||||||
|
"display_text": "always",
|
||||||
|
"action": "retain",
|
||||||
|
"params": []
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"scope_selectors": [
|
"scope_selectors": [
|
||||||
|
Loading…
Reference in New Issue
Block a user