CASMINST-7104 : passing image and config for rebuild
Description
Adding a check for "cfs_config" and "ims_image" in rebuild task. If the parameters were passed , use them to rebuild the node rather than prepare-images output. If not passed workflow will use prepare-images output as it currently does.
Added a new task called "rebuild-config-image-update" in all the management rollouts templates which updates the activity configmap with the image and cfs configuration used. This is a conditional step, and is executed only if the parameters are not empty strings. (implemented using "when" key)
Also the documentation changes for the new feature updated in markdown files .
Relates to:
- CASMINST-7104
- https://github.com/Cray-HPE/iuf-cli/pull/190
- https://github.com/Cray-HPE/cray-nls/pull/227
Testing:
Tested without rebuilding the nodes. Needs to be tested with rebuild once cluster is available
Checklist
- [ ] If I added any command snippets, the steps they belong to follow the prompt conventions (see example).
- [ ] If I added a new directory, I also updated
.github/CODEOWNERSwith the corresponding team in Cray-HPE. - [x] My commits or Pull-Request Title contain my JIRA information, or I do not have a JIRA.
- @Pankhuri-Rajesh please go through and mark as
Resolvedall the comments that you have addressed - Are you anticipating making more changes? If not, change it from
DrafttoReady for review - Please update the branch and resolve the merge conflicts