noobaa-core
noobaa-core copied to clipboard
NSFS | NC | Schema Validation in Upgrade
Environment info
- NooBaa Version: master
- Platform: NSFS | NC
Actual behavior
- Currently when we read the config file we validate it against the schema.
Expected behavior
- In an upgrade scenario, we might change the schemas so the saved config file will not be valid without changing the config files one by one to the needed change.
Steps to reproduce
- none, a scenario that didn't happen yet.
More information - Screenshots / Logs / Other output
https://github.com/noobaa/noobaa-core/blob/8363cf721afdc2968a324b85751bf9f4717c11ce/src/sdk/bucketspace_fs.js#L123-L133