The validation_rules.json file is currently deployed as part of the web app Docker image. Adding it instead as a config map would allow runtime updating of the validation rules without having to rebuild the Docker image. A method for having the web app re-read the validation rules needs to be identified/implemented and documented.
Acceptance criteria
Validation rules are read by the web app in the form of a configmap
The validation rules can be updated without needing to rebuild the docker image
Test Scenarios
[x] Test that validation_rules.json file is available as part of the config map. kubectl get configmaps should include validation rules.
[x] Test that validation rules file can be deleted and recreated
[x] Test that validation rules can be amended and applied without rebuilding the docker image
The
validation_rules.json
file is currently deployed as part of the web app Docker image. Adding it instead as a config map would allow runtime updating of the validation rules without having to rebuild the Docker image. A method for having the web app re-read the validation rules needs to be identified/implemented and documented.Acceptance criteria
Test Scenarios
kubectl get configmaps
should include validation rules.