You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MGMT-23799: Use openshift versions for osImages ISOs (#213)
* Use openshift versions for osImages ISOs
Previously the ISO version set in the osImages list for
AgentServiceConfig was completely separate from the versions the user
provided for ClusterImageSets. These need to match otherwise cluster
creation could fail for a mismatch.
This commit adds logic to fetch the ISO for each listed openshift
version usin `oc` commands rather than keeping a separate list of http
endpoints. This ensures that every ClusterImageSet will always have a
matching ISO configured.
Resolves https://redhat.atlassian.net/browse/MGMT-23799
* use blkid instead of isoinfo to avoid requiring epel on the LZ host
* Move download content after control binaries so the oc cli is available
* Extract just the iso file rather than an entire directory
This wasn't working at all, the directory ended up empty, but it's
better to just get the file we need anyway
* Move blkid call to where the value is needed and always remove temp dirs
- `defaults/content_images.yaml`- RHCOS ISO images
1137
1135
1138
1136
### Control Binaries
1139
1137
@@ -1173,31 +1171,14 @@ control_binaries:
1173
1171
- URLs should point to official Red Hat sources
1174
1172
- Update version numbers as needed
1175
1173
1176
-
### Content Images
1174
+
### RHCOS ISOs
1177
1175
1178
-
#### `content_images`
1176
+
RHCOS ISOs are automatically extracted from OpenShift release images during the prepare phase. For each version defined in `defaults/platforms.yaml`, the system:
1179
1177
1180
-
**Description**: URLs and checksums for RHCOS images.
0 commit comments