backport of commit 2c6a3e72d52297e71a5606fc71ce1a8781dc94aa (#22405)
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
This commit is contained in:
parent
e56ef6c9fb
commit
f0992b323f
|
@ -0,0 +1,3 @@
|
||||||
|
```release-note:bug
|
||||||
|
ui: fixes `max_versions` default for secret metadata unintentionally overriding kv engine defaults
|
||||||
|
```
|
|
@ -35,7 +35,7 @@ export default SecretV2Model.extend(KeyMixin, {
|
||||||
subText: 'An optional set of informational key-value pairs that will be stored with all secret versions.',
|
subText: 'An optional set of informational key-value pairs that will be stored with all secret versions.',
|
||||||
}),
|
}),
|
||||||
maxVersions: attr('number', {
|
maxVersions: attr('number', {
|
||||||
defaultValue: 10,
|
defaultValue: 0,
|
||||||
label: 'Maximum number of versions',
|
label: 'Maximum number of versions',
|
||||||
subText:
|
subText:
|
||||||
'The number of versions to keep per key. Once the number of keys exceeds the maximum number set here, the oldest version will be permanently deleted.',
|
'The number of versions to keep per key. Once the number of keys exceeds the maximum number set here, the oldest version will be permanently deleted.',
|
||||||
|
|
Loading…
Reference in New Issue