SovereignCloudStack / rookify

Enable Ceph-Cluster migrations to Rook
https://scs.community/
Apache License 2.0
1 stars 0 forks source link

Add YAML config schema and validation #40

Closed NotTheEvilOne closed 1 week ago

NotTheEvilOne commented 1 month ago

This PR adds logic to validate the configuration file against a defined schema.

Closes #6

brueggemann commented 2 weeks ago

As load_yaml is also used to load the module data, the validation will not pass for these files. So this should be fixed before merging

NotTheEvilOne commented 1 week ago

As load_yaml is also used to load the module data, the validation will not pass for these files. So this should be fixed before merging

Good catch. Fixed