Introduce create desired_config chain in the "create" step of the workspace
What does this MR do and why?
Old MR description
This MR will introduce an ROP chain to create desired_config in the create step. It is similar to the logic in reconcile step except for following changes
-
devfile_parser.rbis split to three different files adhering to SRP. These files are-
devfile_parser_getter.rb- Call the devfile-gem gets the Kubernetes object against a devfile. -
devfile_resource_modifier.rb- Modifies the objects from the previous step. -
devfile_resource_appender.rb- Appends more Kubernetes resources to the desired_config likeNetworkPolicy,ConfigMaps,Secretsetc.
-
References
Screenshots or screen recordings
This MR does not contain any UI change.
How to set up and validate locally
This file is not used anywhere currently. Run smoke-test to ensure it is working as expected
scripts/remote_development/run-smoke-test-suite.sh
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 Ashvin Sharma