-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the CI builds install script able to detect and work against clu…
…sters with hosted control planes (#369) * Make the CI builds install script able to detect and work against clusters with hosted control planes [1] In such situation, we cannot really rely on the ImageContentSourcePolicy/ImageDigestMirrorSet, which will be created but won't be propagated to the cluster nodes. As a workaround, this script rebuilds a new IIB by replacing all references to the internal registries with quay.io. It also does the same thing by rebuilding new operator bundles, because the manifests in them might also contain references to internal registries. It pushes those new images into the internal cluster image registry. This should make this work on HyperShift, ROSA or IBM Cloud clusters. NOTE: We might be able to reuse that logic to make the airgap script work on such clusters. But this can be done in a follow-up step. [2] [1] https://issues.redhat.com/browse/RHIDP-3205 [2] https://issues.redhat.com/browse/RHIDP-4415 * Remove limitation note on clusters with hosted control planes in the docs * Fix IDMS / ICSP creation on regular OCP clusters * Update prerequisites * Ignore TLS cert checks when pushing images to the internal cluster registry It might be exposed over an insecure route, e.g., on HyperShift clusters launched with `launch 4.x` * Fix `podman create` not working with certain versions of Podman `--entrypoint` is needed on Podman v4 if the container image did not define a CMD or ENTRYPOINT. This didn't happen on Podman v5 * Make it possible to install the Operator even when the internal registry is exposed over an insecure route The solution is to use the internal registry service and port, which are trusted inside the cluster. This fixes the issue with HyperShift clusters provisioned on Cluster Bot (`launch 4.x`).
- Loading branch information
Showing
2 changed files
with
162 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters