Description
The ignition file parsing function parseIgnitionFileContents is currently reading and parsing the worker ignition file, creating all required files, and gathering kubelet arguments. This function is doing too much and should be broken down in order to make the code more readable. The goal of this ticket is to separate the file creation and kubelet argument generation into separate functions which both take the parsed ignition file as an input.
Acceptance Criteria
- parseIgnitionFileContents is broken down into multiple functions with clear purpose.
- WMCB code is more readable.