Skip to content

Commit

Permalink
backport of commit 2c6a3e7 (#22403)
Browse files Browse the repository at this point in the history
Co-authored-by: claire bontempo <[email protected]>
  • Loading branch information
1 parent 3f2ffb3 commit 31695de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions changelog/22394.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
ui: fixes `max_versions` default for secret metadata unintentionally overriding kv engine defaults
```
2 changes: 1 addition & 1 deletion ui/app/models/secret-v2.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default SecretV2Model.extend(KeyMixin, {
subText: 'An optional set of informational key-value pairs that will be stored with all secret versions.',
}),
maxVersions: attr('number', {
defaultValue: 10,
defaultValue: 0,
label: 'Maximum number of versions',
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.',
Expand Down

0 comments on commit 31695de

Please sign in to comment.