-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] MGMT-2977 Create cluster-specific minimal iso #926
Conversation
This will take a cluster and add the files specified in the discovery ignition patch to the iso as an additional initrd image. This will allow these customizations to take effect before the rootfs is downloaded
This adds a type enum to both the cluster image info and the image creation parameters
This will make it easier to share between the existing logic which creates the archive then uploads it to s3 and the new logic which will write the archive to the fs before bundling it into the minimal iso directly
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: carbonin The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
4b63649
to
43247e3
Compare
Closing this and splitting it into a few separate PRs |
Split this into: Left out the bit that creates the new archive with the ignition files because we can get a full installation without it and it applies more to handling static networking than to just being able to use a minimal iso. |
Fix world-readable check in sanitychecks.sh
This PR customizes the minimal iso for a specific cluster.
It adds an option to the iso generation endpoint to request either the minimal or the full iso. Only one can be used at a time, so whichever one was generated most recently will be downloaded.
To generate the cluster ISO we download the minimal iso template from s3 (using a cache) and make two sets of customizations:
- This may or may not be necessary depending on if MGMT-3510 requires it.