Skip to content
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

Adapt the operator CI install script to work on non OCP-clusters #487

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Commits on Nov 30, 2024

  1. Add dedicated function that installs the CatalogSource and Subscripti…

    …on on a standard Kubernetes cluster
    
    Just like with OCP clusters with hosted control planes
    (where we cannot use ICSP/IDMS resources),
    we are doing the following here:
    1. Deploy an authenticated registry (there may not be any internal registry available, unlike OCP)
    2. Expose this registry via port-forwarding and using a NodePort (to be able to pull it from within the cluster)
    3. Replacing all references to the internal RH registry with quay.io in the bundles, repack and push the bundles to the registry above
    4. Regenerate the IIB and build it in the cluster (using Kaniko, because the script might be called from CI where Podman cannot run)
    5. Create the CatalogSource using this new IIB ref
    rm3l committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    eb90911 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    782f39f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d1bc428 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7549d09 View commit details
    Browse the repository at this point in the history
  5. Update the docs

    rm3l committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    010bcd2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c7ffc48 View commit details
    Browse the repository at this point in the history
  7. Refactor the install script to better make errors and warnings stand …

    …out and also better handle exit codes
    rm3l committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    728dcf1 View commit details
    Browse the repository at this point in the history
  8. Fix the docs

    rm3l committed Nov 30, 2024
    Configuration menu
    Copy the full SHA
    4333adf View commit details
    Browse the repository at this point in the history