Create a Value Object for desired_config
What does this MR do and why?
Create a Value Object for desired_config
This class is created to manage desired_config easily. It validates against Kubernetes schema, does diff of two same objects and checks the order of the enclosing items we apply to the Kubernetes.
This MR contains
- JSON Schema of Kubernetes objects from https://github.com/yannh/kubernetes-json-schema.
- Value Object
desired_configand it's spec.
References
Refactor workspaces term config_to_apply to des... (#525468 - closed)
Screenshots or screen recordings
No UI changes
How to set up and validate locally
Run tests for
ee/spec/lib/remote_development/workspace_operations/reconcile/output/desired_config_generator_spec.rb
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Chad Woolley