manager
manager copied to clipboard
fix: [M3-8467] - Improve validation rules for create bucket schema
Description ๐
The API currently returns an error when creating buckets, incorrectly checking for 'name' instead of 'label'. While a fix for this issue is planned for the future, we can improve our validation in the interim.
Changes ๐
- Update schema to account for existing validation requirements
Target release date ๐๏ธ
N/A
How to test ๐งช
Prerequisites
- Ensure multicluster flag is enabled
Reproduction steps
- Try creating a bucket with a capital letter in the name
- Observe the request silently fails
Verification steps
- Checkout this branch
- Follow reproduction steps
- Test for
-test,test--,test.-Test - Observe validation is working as intended
As an Author I have considered ๐ค
Check all that apply
- [ ] ๐ Doing a self review
- [ ] โ Our contribution guidelines
- [ ] ๐ค Splitting feature into small PRs
- [x] โ Adding a changeset
- [x] ๐งช Providing/Improving test coverage
- [ ] ๐ Removing all sensitive information from the code and PR description
- [ ] ๐ฉ Using a feature flag to protect the release
- [ ] ๐ฃ Providing comprehensive reproduction steps
- [ ] ๐ Providing or updating our documentation
- [ ] ๐ Scheduling a pair reviewing session
- [ ] ๐ฑ Providing mobile support
- [ ] โฟ Providing accessibility support